Copied!

ApplicationWorkflowFormEvent

ApplicationWorkflowFormEvent.php : 17
Extends Event

Event is the base class for classes containing event data.

This class contains no event data. It is used by events that do not pass state information to an event handler when an event is raised.

You can call the method stopPropagation() to abort the execution of further listeners in your event listener.

Methods

public__construct()

ApplicationWorkflowFormEvent.php : 37
public __construct(Application $application, ApplicationState $applicationState, FormInterface $form, array<string, mixed>|null $data, string $previousState, string $nextState[, Response|null $response = null ])

Parameters

Name Type Default value Description
$application Application - -
$applicationState ApplicationState - -
$form FormInterface - -
$data array<string, mixed>|null - -
$previousState string - -
$nextState string - -
$response Response|null null -

publicgetApplication()

ApplicationWorkflowFormEvent.php : 55
public getApplication() : Application

Return values

Application

publicgetApplicationState()

ApplicationWorkflowFormEvent.php : 60
public getApplicationState() : ApplicationState

Return values

ApplicationState

publicgetData()

ApplicationWorkflowFormEvent.php : 73
public getData() : array<string, mixed>|null

Return values

array<string, mixed>|null

publicgetForm()

ApplicationWorkflowFormEvent.php : 65
public getForm() : FormInterface

Return values

FormInterface

publicgetNextState()

ApplicationWorkflowFormEvent.php : 93
public getNextState() : string

Return values

string

publicgetPreviousState()

ApplicationWorkflowFormEvent.php : 88
public getPreviousState() : string

Return values

string

publicgetResponse()

ApplicationWorkflowFormEvent.php : 78
public getResponse() : Response|null

Return values

Response|null

publicisPropagationStopped()

Event.php : 38
public isPropagationStopped() : bool

Return values

bool

publicsetResponse()

ApplicationWorkflowFormEvent.php : 83
public setResponse(Response|null $response) : void

Parameters

Name Type Default value Description
$response Response|null - -

publicstopPropagation()

Event.php : 50

Stops the propagation of the event to further event listeners.

public stopPropagation() : void

If multiple event listeners are connected to the same event, no further event listener will be triggered once any trigger calls stopPropagation().