/** * {@inheritdoc} * * @param \FormObject\Form * @return void **/ public function setForm(Form $form) { $this->form = $form; $this->setEventBus($form->getEventBus()); }