PhpSpec\Laravel\Util\Laravel::__construct PHP Метод

__construct() публичный Метод

Constructor.
public __construct ( string $env, string $appPath )
$env string Laravel testing environment. 'testing' by default
$appPath string Path to the Laravel bootstrap dir
    public function __construct($env, $appPath)
    {
        $this->env = $env ?: 'testing';
        $this->appPath = $appPath;
    }