addFormFields($form, $identity, isProfile: false); } protected function processForm(Identity $identity): void { $this->processUserForm($identity); } protected function getEntityClass(): ?string { return $this->_em->findEntityClassByInterface(Identity::class); } public function isAllowedToEdit(): true { return true; } }