src/API/Factory/ApiFactoryAbstract.php
protected function initEnvironment(): void
    {
        $envFile = $this->getRootRelatedPath($this->getEnvFileName());

        $this->assertFileIsReadable($envFile);

        self::$envIsSet = (bool)(new Dotenv($this->getRootDirectory(), $this->getEnvFileName()))->load();
    }
protected function initEnvironment(): void
    {
        $envFile = $this->getRootRelatedPath($this->getEnvFileName());

        $this->assertFileIsReadable($envFile);

        self::$envIsSet = (bool)(new Dotenv($this->getRootDirectory(), $this->getEnvFileName()))->load();
    }
protected function initEnvironment ( ) : void { $ envFile = $ this -> getRootRelatedPath ( $ this -> getEnvFileName ( ) ) ; $ this -> assertFileIsReadable ( $ envFile ) ; self :: $ envIsSet = ( bool ) ( new Dotenv ( $ this -> getRootDirectory ( ) , $ this -> getEnvFileName ( ) ) ) -> load ( ) ; }
Initialize environment variables

@throws InvalidPathException
Initialize environment variables