var/cache/dev/ContainerGRTQkkx/getSylius_EventSubscriber_ResourceDeleteService.php line 28

Open in your IDE?
  1. <?php
  2. namespace ContainerGRTQkkx;
  3. use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
  4. use Symfony\Component\DependencyInjection\Exception\RuntimeException;
  5. /**
  6.  * @internal This class has been auto-generated by the Symfony Dependency Injection Component.
  7.  */
  8. class getSylius_EventSubscriber_ResourceDeleteService extends App_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the public 'sylius.event_subscriber.resource_delete' shared service.
  12.      *
  13.      * @return \Sylius\Bundle\AdminBundle\EventListener\ResourceDeleteSubscriber
  14.      */
  15.     public static function do($container$lazyLoad true)
  16.     {
  17.         include_once \dirname(__DIR__4).'/vendor/sylius/sylius/src/Sylius/Bundle/AdminBundle/EventListener/ResourceDeleteSubscriber.php';
  18.         $a = ($container->services['router'] ?? $container->getRouterService());
  19.         if (isset($container->services['sylius.event_subscriber.resource_delete'])) {
  20.             return $container->services['sylius.event_subscriber.resource_delete'];
  21.         }
  22.         return $container->services['sylius.event_subscriber.resource_delete'] = new \Sylius\Bundle\AdminBundle\EventListener\ResourceDeleteSubscriber($a, ($container->services['.container.private.session'] ?? $container->load('get_Container_Private_SessionService')));
  23.     }
  24. }