您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

ReductionCatalogAdminController.php 579B

12345678910111213141516171819
  1. <?php
  2. namespace Lc\CaracoleBundle\Controller\Reduction;
  3. use Lc\CaracoleBundle\Controller\AbstractAdminController;
  4. use Lc\SovBundle\Repository\RepositoryQueryInterface;
  5. abstract class ReductionCatalogAdminController extends AbstractAdminController
  6. {
  7. public function getRepositoryQuery(): RepositoryQueryInterface
  8. {
  9. return $this->getReductionCatalogContainer()->getRepositoryQuery();
  10. }
  11. public function createEntity(string $entityFqcn)
  12. {
  13. return $this->getReductionCatalogContainer()->getFactory()->create($this->getSectionCurrent());
  14. }
  15. }