trait HasWizard (View source)

Properties

protected bool $isWizard
protected bool|Closure $isWizardSkippable
protected int|Closure $wizardStartStep
protected Closure|null $modifyWizardUsing

Methods

steps(array|Closure $steps)

No description

startOnStep(int|Closure $startStep)

No description

skippableSteps(bool|Closure $condition = true)

No description

bool
isWizard()

No description

bool
isWizardSkippable()

No description

modifyWizardUsing(Closure|null $callback)

No description

int
getWizardStartStep()

No description

Details

HasWizard steps(array|Closure $steps)

No description

Parameters

array|Closure $steps

Return Value

HasWizard

HasWizard startOnStep(int|Closure $startStep)

No description

Parameters

int|Closure $startStep

Return Value

HasWizard

HasWizard skippableSteps(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

HasWizard

bool isWizard()

No description

Return Value

bool

bool isWizardSkippable()

No description

Return Value

bool

HasWizard modifyWizardUsing(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

HasWizard

int getWizardStartStep()

No description

Return Value

int