選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

20 行
579B

  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. }