Equip\Configuration\EnvConfiguration::__construct PHP Метод

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

public __construct ( string $envfile = null )
$envfile string
    public function __construct($envfile = null)
    {
        if (empty($envfile)) {
            $envfile = $this->detectEnvFile();
        }
        if (!is_file($envfile) || !is_readable($envfile)) {
            throw EnvException::invalidFile($envfile);
        }
        $this->envfile = $envfile;
    }