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.

ReductionCatalogAdminController.php 580B

3 vuotta sitten
3 vuotta sitten
3 vuotta sitten
3 vuotta sitten
3 vuotta sitten
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->getMerchantCurrent());
  14. }
  15. }