mediatekformation

PostSetDataEvent extends FormEvent
in package

This event is dispatched at the end of the Form::setData() method.

This event is mostly here for reading data after having pre-populated the form.

Tags
final

since Symfony 4.4

Table of Contents

$data  : mixed
$form  : mixed
$propagationStopped  : mixed
__construct()  : mixed
getData()  : mixed
Returns the data associated with this event.
getForm()  : FormInterface
Returns the form at the source of the event.
isPropagationStopped()  : bool
setData()  : mixed
Allows updating with some filtered data.
stopPropagation()  : mixed

Properties

$propagationStopped

private mixed $propagationStopped = false

Methods

getData()

Returns the data associated with this event.

public getData() : mixed
Return values
mixed

isPropagationStopped()

public isPropagationStopped() : bool
Tags
deprecated

since Symfony 4.3, use "Symfony\Contracts\EventDispatcher\Event" instead

Return values
bool

Whether propagation was already stopped for this event

setData()

Allows updating with some filtered data.

public setData(mixed $data) : mixed
Parameters
$data : mixed
Return values
mixed

stopPropagation()

public stopPropagation() : mixed
Tags
deprecated

since Symfony 4.3, use "Symfony\Contracts\EventDispatcher\Event" instead

Return values
mixed

Search results