public function __construct($formNameStr, TranslatorObj $translator) { parent::__construct($formNameStr, $translator); $this->createNameField(); $this->createDescriptionField(); $this->createIsActiveField(); }
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(); }