public function setFormGenerator(DoctrineFormGenerator $formGenerator) { $this->formGenerator = $formGenerator; }