entityMetaInformation = $entityMetaInformation; $this->setFormClass(); } private function setFormClass(): void { $this->formClass = 'App\\Form'; foreach ($this->entityMetaInformation->getNamespacePathMap()->getFolders() as $element) { $this->formClass .= '\\'.ucfirst($element); } $this->formClass .= '\\'.ucfirst($this->entityMetaInformation->getPureName()).'Type'; } /** * {@inheritdoc} * * @see \App\Domain\FormManagement\FormMetaInformationInterface::getFormClass() */ public function getFormClass(): string { return $this->formClass; } /** * {@inheritdoc} * * @see \App\Domain\FormManagement\FormMetaInformationInterface::getTemplatePathInformation() */ public function getTemplatePathInformation(): TemplatePathInformationInterface { return $this->entityMetaInformation->getTemplatePathFormAndView()->getForm(); } }