protected function getConfigFile($name = 'app')
    {
        $env = $this->option('env') ? $this->option('env').'/' : '';

        $name .= '.php';

        $contents = File::get($path = $this->laravel['path.config']."/{$env}{$name}");

        return $path;
    }
protected function getConfigFile($name = 'app')
    {
        $env = $this->option('env') ? $this->option('env').'/' : '';

        $name .= '.php';

        $contents = File::get($path = $this->laravel['path.config']."/{$env}{$name}");

        return $path;
    }
protected function getConfigFile ( $ name = 'app' ) { $ env = $ this -> option ( 'env' ) ? $ this -> option ( 'env' ) . '/' : '' ; $ name .= '.php' ; $ contents = File :: get ( $ path = $ this -> laravel [ 'path.config' ] . "/{$env}{$name}" ) ; return $ path ; }
Get a config file and contents.

@return array
Get a config file and contents .