Wizard Help

StepExpired Event

The StepExpired event is raised if the Wizard has a step timeout set and a step in not processed within the timeout period.

Methods

Name

Description

__construct()

Event constructor

getResponse()

Returns the response

getWizard()

Returns the Wizard instance that raised the event

isPropagationStopped()

Returns a value indicating whether event propagation is stopped

isWizardStopped()

Returns a value indicating whether the wizard is stopped

setResponse()

Sets the response

stopPropagation()

Stops event propagation

stopWizard()

Stops the wizard

Method Details

__construct()

Constructor

public function __construct(private WizardInterface $wizard)

Parameter

Type

Default

Description

$wizard

WizardInterface

Required

The Wizard instance that raised the event

getResponse()

Returns the response.

See also:

public function getResponse(): ?ResponseInterface

Return

?ResponseInterface

The response or null if no response is set

getWizard()

Returns the Wizard instance that raised the event.

public function getWizard(): WizardInterface

Return

WizardInterface

The Wizard instance that raised the event

isPropagationStopped()

Returns a value indicating whether event propagation is stopped.

See also:

public function isPropagationStopped(): bool

Return

bool

Whether event propagation is stopped


false: if event propagation is not stopped


true: if event propagation is stopped

isWizardStopped()

Returns a value indicating whether the Wizard is stopped

See also:

public function isWizardStopped(): bool

Return

bool

Whether the Wizard is stopped


false: if the Wizard is not stopped


true: if the Wizard is stopped

setResponse()

Sets the response.

See also:

public function setResponse(ResponseInterface $response): self

Parameter

Type

Default

Description

$response

ResponseInterface

Required

The response

stopPropagation()

Stops event propagation.

See also: isPropagationStopped()

public function stopPropagation(): void

stopWizard()

Stops the Wizard.

See also:

public function stopWizard(): void
Last modified: 27 January 2025