private function getEnvironment()
  {
    $env = new \Dotenv\Dotenv($this->basePath);
    $env->load();
    $this->env['env'] = getenv('APP_ENV');
    $this->env['debug'] = getenv('APP_DEBUG');
    $this->env['appSecret'] = getenv('APP_KEY');
  }
private function getEnvironment()
  {
    $env = new \Dotenv\Dotenv($this->basePath);
    $env->load();
    $this->env['env'] = getenv('APP_ENV');
    $this->env['debug'] = getenv('APP_DEBUG');
    $this->env['appSecret'] = getenv('APP_KEY');
  }
private function getEnvironment ( ) { $ env = new \ Dotenv \ Dotenv ( $ this -> basePath ) ; $ env -> load ( ) ; $ this -> env [ 'env' ] = getenv ( 'APP_ENV' ) ; $ this -> env [ 'debug' ] = getenv ( 'APP_DEBUG' ) ; $ this -> env [ 'appSecret' ] = getenv ( 'APP_KEY' ) ; }
Loads the environment from your .env file
@return array
Loads the environment from your . env file