PHP Class MarvinLabs\SetupWizard\Controllers\WizardController

Inheritance: extends Illuminate\Routing\Controller
Mostrar archivo Open project: marvinlabs/laravel-setup-wizard

Protected Properties

Property Type Description
$wizard MarvinLabs\SetupWizard\Facades\SetupWizard

Public Methods

Method Description
__construct ( SetupWizard $wizard ) WizardController constructor.
showStep ( ) : Illuminate\Http\Response Show the form to setup the current step
submitStep ( Illuminate\Http\Request $request ) : Illuminate\Http\Response Submit the wizard step currently shown with the specified action (next/back)

Protected Methods

Method Description
nextStep ( Illuminate\Http\Request $request ) : Illuminate\Http\Response Apply current step and move on to next step
previousStep ( Illuminate\Http\Request $request )

Method Details

__construct() public method

WizardController constructor.
public __construct ( SetupWizard $wizard )
$wizard MarvinLabs\SetupWizard\Facades\SetupWizard

nextStep() protected method

Apply current step and move on to next step
protected nextStep ( Illuminate\Http\Request $request ) : Illuminate\Http\Response
$request Illuminate\Http\Request
return Illuminate\Http\Response

previousStep() protected method

protected previousStep ( Illuminate\Http\Request $request )
$request Illuminate\Http\Request

showStep() public method

Show the form to setup the current step
public showStep ( ) : Illuminate\Http\Response
return Illuminate\Http\Response

submitStep() public method

Submit the wizard step currently shown with the specified action (next/back)
public submitStep ( Illuminate\Http\Request $request ) : Illuminate\Http\Response
$request Illuminate\Http\Request
return Illuminate\Http\Response

Property Details

$wizard protected_oe property

protected SetupWizard,MarvinLabs\SetupWizard\Facades $wizard
return MarvinLabs\SetupWizard\Facades\SetupWizard