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
*/
public function postSubmit(FormEvent
$event) { if ($event->
getForm()->
isRoot()) {