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

ReductionCartAdminController.php 638B

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