Domain: amberpublishers.in
Server Adress: 86.38.243.169

privdayz.com

/home/u866425823/domains/newscafeindia.com/vendor/php-flasher/flasher-laravel/Support/
Dosya Yükle :
Current File : //home/u866425823/domains/newscafeindia.com/vendor/php-flasher/flasher-laravel/Support/Laravel.php

<?php

/*
 * This file is part of the PHPFlasher package.
 * (c) Younes KHOUBZA <[email protected]>
 */

namespace Flasher\Laravel\Support;

use Illuminate\Foundation\Application;

final class Laravel
{
    /**
     * @param string      $version
     * @param string|null $operator
     *
     * @return bool
     */
    public static function isVersion($version, $operator = null)
    {
        if (null !== $operator) {
            return version_compare(Application::VERSION, $version, $operator);
        }

        $parts = explode('.', $version);
        ++$parts[\count($parts) - 1];
        $next = implode('.', $parts);

        return self::isVersion($version, '>=') && self::isVersion($next, '<');
    }
}

coded by Privdayz.com - Visit https://privdayz.com/ for more php shells.