Exemple #1
0
 /**
  * @return Form
  */
 public function create()
 {
     $form = new ObjectForm();
     $form->injectObjectMapper($this->objectMapper);
     if ($this->translator) {
         $form->setTranslator($this->translator);
     }
     return $form;
 }