*/ interface PersonContextInterface extends DocGeneratorContextWithAdminFormInterface, DocGeneratorContextWithPublicFormInterface { public function adminFormReverseTransform(array $data): array; public function adminFormTransform(array $data): array; public function buildAdminForm(FormBuilderInterface $builder): void; public function buildPublicForm(FormBuilderInterface $builder, DocGeneratorTemplate $template, mixed $entity): void; public function getData(DocGeneratorTemplate $template, $entity, array $contextGenerationData = []): array; public function getDescription(): string; public function getEntityClass(): string; public function getFormData(DocGeneratorTemplate $template, mixed $entity): array; public function getName(): string; public function hasAdminForm(): bool; /** * @param Person $entity */ public function hasPublicForm(DocGeneratorTemplate $template, $entity): bool; public function contextGenerationDataNormalize(DocGeneratorTemplate $template, $entity, array $data): array; public function contextGenerationDataDenormalize(DocGeneratorTemplate $template, $entity, array $data): array; public function storeGenerated(DocGeneratorTemplate $template, StoredObject $storedObject, object $entity, array $contextGenerationData): void; }