Base Event
BaseEvent is the base class for all Wizard events.
| Namespace | BeastBytes\Wizard\Event | 
|---|---|
| Implements | Psr\EventDispatcher\StoppableEventInterface | 
| Child classes | BeastBytes\Wizard\Event\AfterWizard, BeastBytes\Wizard\Event\BeforeWizard, BeastBytes\Wizard\Event\Step, BeastBytes\Wizard\Event\StepExpired | 
Methods
| Name | Description | 
|---|---|
| __construct() | Event constructor | 
| 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 | 
| stopPropagation() | Stops event propagation | 
| stopWizard() | Stops the wizard | 
Method Details
__construct()
Constructor
| Parameter | Type | Default | Description | 
|---|---|---|---|
| $wizard | WizardInterface | Required | The Wizard instance that raised the event | 
getWizard()
Returns the Wizard instance that raised the event.
| Return | WizardInterface | The Wizard instance that raised the event | 
|---|
isPropagationStopped()
Returns a value indicating whether event propagation is stopped.
See also:
| 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:
| Return | bool | Whether the Wizard is stopped false: if the Wizard is not stopped true: if the Wizard is stopped | 
|---|
stopPropagation()
Stops event propagation.
See also: isPropagationStopped()
stopWizard()
Stops the Wizard.
See also: