Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

ReductionCreditAdminController.php 652B

3 лет назад
2 лет назад
3 лет назад
2 лет назад
2 лет назад
3 лет назад
1234567891011121314151617181920
  1. <?php
  2. namespace Lc\CaracoleBundle\Controller\Reduction;
  3. use Lc\CaracoleBundle\Container\Reduction\ReductionCreditContainer;
  4. use Lc\CaracoleBundle\Controller\AbstractAdminController;
  5. use Lc\SovBundle\Repository\RepositoryQueryInterface;
  6. abstract class ReductionCreditAdminController extends AbstractAdminController
  7. {
  8. public function getRepositoryQuery() :RepositoryQueryInterface
  9. {
  10. return $this->get(ReductionCreditContainer::class)->getRepositoryQuery();
  11. }
  12. public function createEntity(string $entityFqcn)
  13. {
  14. return $this->getReductionCreditContainer()->getFactory()->create($this->getMerchantCurrent());
  15. }
  16. }