PHP Class RachidLaasri\LaravelInstaller\Controllers\EnvironmentController

Inheritance: extends Illuminate\Routing\Controller
Show file Open project: RachidLaasri/LaravelInstaller

Protected Properties

Property Type Description
$EnvironmentManager RachidLaasri\LaravelInstaller\Helpers\EnvironmentManager

Public Methods

Method Description
__construct ( RachidLaasri\LaravelInstaller\Helpers\EnvironmentManager $environmentManager )
environment ( ) : Illuminate\View\View Display the Environment page.
save ( Illuminate\Http\Request $input, Redirector $redirect ) : Illuminate\Http\RedirectResponse Processes the newly saved environment configuration and redirects back.

Method Details

__construct() public method

public __construct ( RachidLaasri\LaravelInstaller\Helpers\EnvironmentManager $environmentManager )
$environmentManager RachidLaasri\LaravelInstaller\Helpers\EnvironmentManager

environment() public method

Display the Environment page.
public environment ( ) : Illuminate\View\View
return Illuminate\View\View

save() public method

Processes the newly saved environment configuration and redirects back.
public save ( Illuminate\Http\Request $input, Redirector $redirect ) : Illuminate\Http\RedirectResponse
$input Illuminate\Http\Request
$redirect Illuminate\Routing\Redirector
return Illuminate\Http\RedirectResponse

Property Details

$EnvironmentManager protected property

protected EnvironmentManager,RachidLaasri\LaravelInstaller\Helpers $EnvironmentManager
return RachidLaasri\LaravelInstaller\Helpers\EnvironmentManager