var/cache/dev/ContainerLXkFAwm/getDevVoterService.php line 18

Open in your IDE?
  1. <?php
  2. namespace ContainerLXkFAwm;
  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 getDevVoterService extends App_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the private 'debug.security.voter.App\Security\DevVoter' shared service.
  12.      *
  13.      * @return \Symfony\Component\Security\Core\Authorization\Voter\TraceableVoter
  14.      */
  15.     public static function do($container$lazyLoad true)
  16.     {
  17.         include_once \dirname(__DIR__4).'/vendor/symfony/security-core/Authorization/Voter/VoterInterface.php';
  18.         include_once \dirname(__DIR__4).'/vendor/symfony/security-core/Authorization/Voter/CacheableVoterInterface.php';
  19.         include_once \dirname(__DIR__4).'/vendor/symfony/security-core/Authorization/Voter/TraceableVoter.php';
  20.         include_once \dirname(__DIR__4).'/vendor/symfony/security-core/Authorization/Voter/Voter.php';
  21.         include_once \dirname(__DIR__4).'/src/Security/DevVoter.php';
  22.         $a = ($container->services['event_dispatcher'] ?? $container->getEventDispatcherService());
  23.         if (isset($container->privates['debug.security.voter.App\\Security\\DevVoter'])) {
  24.             return $container->privates['debug.security.voter.App\\Security\\DevVoter'];
  25.         }
  26.         return $container->privates['debug.security.voter.App\\Security\\DevVoter'] = new \Symfony\Component\Security\Core\Authorization\Voter\TraceableVoter(new \App\Security\DevVoter(($container->services['doctrine'] ?? $container->getDoctrineService())), $a);
  27.     }
  28. }