PHP Class MarvinLabs\SetupWizard\Wizard\DefaultSetupWizard

Inheritance: implements MarvinLabs\SetupWizard\Contracts\SetupWizard
Afficher le fichier Open project: marvinlabs/laravel-setup-wizard

Protected Properties

Свойство Type Description
$app The Laravel application instance.
$currentStep The step currently displayed to the user
$currentStepIndex The index of the current step
$steps The steps of the wizard

Méthodes publiques

Méthode Description
__construct ( Illuminate\Contracts\Foundation\Application $app = null )
currentStep ( )
firstStep ( )
initialize ( $currentStepSlug )
isCurrent ( $stepId )
isFirst ( $stepId = null )
isLast ( $stepId = null )
nextStep ( )
previousStep ( )
progress ( )
stepIndex ( $stepId )
steps ( )

Méthodes protégées

Méthode Description
createStepsFromConfig ( ) : array Get configuration and create the step objects
findStepByIndex ( $index )
findStepBySlug ( $slug = '' )

Method Details

__construct() public méthode

public __construct ( Illuminate\Contracts\Foundation\Application $app = null )
$app Illuminate\Contracts\Foundation\Application

createStepsFromConfig() protected méthode

Get configuration and create the step objects
protected createStepsFromConfig ( ) : array
Résultat array The step objects, indexed by ID

currentStep() public méthode

public currentStep ( )

findStepByIndex() protected méthode

protected findStepByIndex ( $index )

findStepBySlug() protected méthode

protected findStepBySlug ( $slug = '' )

firstStep() public méthode

public firstStep ( )

initialize() public méthode

public initialize ( $currentStepSlug )

isCurrent() public méthode

public isCurrent ( $stepId )

isFirst() public méthode

public isFirst ( $stepId = null )

isLast() public méthode

public isLast ( $stepId = null )

nextStep() public méthode

public nextStep ( )

previousStep() public méthode

public previousStep ( )

progress() public méthode

public progress ( )

stepIndex() public méthode

public stepIndex ( $stepId )

steps() public méthode

public steps ( )

Property Details

$app protected_oe property

The Laravel application instance.
protected $app

$currentStep protected_oe property

The step currently displayed to the user
protected $currentStep

$currentStepIndex protected_oe property

The index of the current step
protected $currentStepIndex

$steps protected_oe property

The steps of the wizard
protected $steps