You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- <?php
-
- namespace Lc\PietroBundle\Controller\Workshop;
-
- use Lc\PietroBundle\Controller\AbstractAdminController;
- use Lc\SovBundle\Repository\RepositoryQueryInterface;
-
- abstract class EntryAdminController extends AbstractAdminController
- {
- public function createEntity(string $entityFqcn)
- {
- return $this->getEntryContainer()->getFactory()->create();
- }
-
- public function getRepositoryQuery(): RepositoryQueryInterface
- {
- return $this->getEntryContainer()->getRepositoryQuery();
- }
-
- public function configureFields(string $pageName): iterable
- {
- return $this->getEntryContainer()->getFieldDefinition()->getFields($pageName);
- }
- }
|