public function getEnvFile()
    {
        $basePath = $this->getBasePath();
        $envFile = $this->get('envFile');
        $startsWith = substr($envFile, 0, 1);
        if (!$startsWith !== '/' && $startsWith !== '~' && $startsWith !== '\\') {
            $envFile = $basePath . DIRECTORY_SEPARATOR . $envFile;
        }

        return $envFile;
    }
public function getEnvFile()
    {
        $basePath = $this->getBasePath();
        $envFile = $this->get('envFile');
        $startsWith = substr($envFile, 0, 1);
        if (!$startsWith !== '/' && $startsWith !== '~' && $startsWith !== '\\') {
            $envFile = $basePath . DIRECTORY_SEPARATOR . $envFile;
        }

        return $envFile;
    }
public function getEnvFile ( ) { $ basePath = $ this -> getBasePath ( ) ; $ envFile = $ this -> get ( 'envFile' ) ; $ startsWith = substr ( $ envFile , 0 , 1 ) ; if ( ! $ startsWith !== '/' && $ startsWith !== '~' && $ startsWith !== '\\' ) { $ envFile = $ basePath . DIRECTORY_SEPARATOR . $ envFile ; } return $ envFile ; }
Get the full path to the env file.

@return mixed|null|string
Get the full path to the env file .