Ejemplo n.º 1
0
 public function __construct($formNameStr, TranslatorObj $translator)
 {
     parent::__construct($formNameStr, $translator);
     $this->createNameField();
     $this->createDescriptionField();
     $this->createIsActiveField();
 }
Ejemplo n.º 2
0
 public function __construct(DoctrineHydratorObj $doctrineHydratorObj, $mapperEntityObj, $fieldsetNameStr, TranslatorObj $translator)
 {
     parent::__construct($fieldsetNameStr, $translator);
     $this->setHydrator($doctrineHydratorObj);
     $this->setObject($mapperEntityObj);
     $this->createIdField();
     $this->createNameField();
     $this->createDescriptionField();
     $this->createIsActiveField();
 }