FormEvents::POST_SUBMIT =>
['postSubmit', -255
],
];
} /**
* Listener for the {@link FormEvents::POST_SET_DATA} event.
*
* @return void
*/
public function postSetData(FormEvent
$event) { if ($event->
getForm()->
isRoot()) { // Collect basic information about each form
$this->dataCollector->
collectConfiguration($event->
getForm());
// Collect the default data
$this->dataCollector->
collectDefaultData($event->
getForm());
} } /**
* Listener for the {@link FormEvents::POST_SUBMIT} event.
*
* @return void
*/