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 EasyCorp\Bundle\EasyAdminBundle\Config\Action;
- use EasyCorp\Bundle\EasyAdminBundle\Config\Actions;
- use EasyCorp\Bundle\EasyAdminBundle\Config\Crud;
- use Lc\PietroBundle\Controller\AbstractAdminController;
- use Lc\PietroBundle\Model\Workshop\EntryInterface;
- use Lc\SovBundle\Generator\CsvGenerator;
- use Lc\SovBundle\Repository\RepositoryQueryInterface;
- use Symfony\Component\HttpFoundation\Request;
-
- abstract class SolutionAdminController extends AbstractAdminController
- {
- public function createEntity(string $entityFqcn)
- {
- return $this->getSolutionContainer()->getFactory()->create();
- }
-
- public function getRepositoryQuery(): RepositoryQueryInterface
- {
- return $this->getSolutionContainer()->getRepositoryQuery();
- }
-
- public function configureFields(string $pageName): iterable
- {
- return $this->getSolutionContainer()->getFieldDefinition()->getFields($pageName);
- }
- }
|