MarvinLabs\SetupWizard\Controllers\WizardController::__construct PHP Method

__construct() public method

WizardController constructor.
public __construct ( SetupWizard $wizard )
$wizard MarvinLabs\SetupWizard\Facades\SetupWizard
    public function __construct(SetupWizard $wizard)
    {
        $this->wizard = $wizard;
        // Our methods all use the middleware to setup the wizard (find current step, etc.)
        $this->middleware(['setup_wizard']);
    }