public function createServerConfig()
    {
        // Load config
        $config = new Config($this->app->getEnvironment(), '.env');

        // Save to protected file
        $config->export($this->target . DIRECTORY_SEPARATOR . '.env.php');
    }
public function createServerConfig()
    {
        // Load config
        $config = new Config($this->app->getEnvironment(), '.env');

        // Save to protected file
        $config->export($this->target . DIRECTORY_SEPARATOR . '.env.php');
    }
public function createServerConfig ( ) { // Load config $ config = new Config ( $ this -> app -> getEnvironment ( ) , '.env' ) ; // Save to protected file $ config -> export ( $ this -> target . DIRECTORY_SEPARATOR . '.env.php' ) ; }
Create a server config file

@return void
Create a server config file