FormConfigBuilderInterface::addEventListener()

FormConfigBuilderInterface addEventListener(string $eventName, callable $listener, int $priority)

Adds an event listener to an event on this form.

Parameters

string $eventName The name of the event to listen to
callable $listener The listener to execute
int $priority The priority of the listener. Listeners with a higher priority are called before listeners with a lower priority.

Return Value

FormConfigBuilderInterface The configuration object
doc_Symfony
2016-10-28 06:18:06
Comments
Leave a Comment

Please login to continue.