Свойство | Тип | Описание | |
---|---|---|---|
$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 |
Метод | Описание | |
---|---|---|
__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 ( ) |
Метод | Описание | |
---|---|---|
createStepsFromConfig ( ) : array | Get configuration and create the step objects | |
findStepByIndex ( $index ) | ||
findStepBySlug ( $slug = '' ) |
public __construct ( Illuminate\Contracts\Foundation\Application $app = null ) | ||
$app | Illuminate\Contracts\Foundation\Application |
protected createStepsFromConfig ( ) : array | ||
Результат | array | The step objects, indexed by ID |