var/cache/dev/ContainerQYwb3gN/getProjectVoterService.php line 37

Open in your IDE?
  1. <?php
  2. namespace ContainerQYwb3gN;
  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 getProjectVoterService extends App_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the private 'debug.security.voter.App\Security\Voter\ProjectVoter' 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/Voter/ProjectVoter.php';
  22.         $a = ($container->privates['security.helper'] ?? $container->getSecurity_HelperService());
  23.         if (isset($container->privates['debug.security.voter.App\\Security\\Voter\\ProjectVoter'])) {
  24.             return $container->privates['debug.security.voter.App\\Security\\Voter\\ProjectVoter'];
  25.         }
  26.         $b = ($container->services['event_dispatcher'] ?? $container->getEventDispatcherService());
  27.         if (isset($container->privates['debug.security.voter.App\\Security\\Voter\\ProjectVoter'])) {
  28.             return $container->privates['debug.security.voter.App\\Security\\Voter\\ProjectVoter'];
  29.         }
  30.         $c = new \App\Security\Voter\ProjectVoter($a);
  31.         $c->setUserProjectRepository(($container->privates['App\\Repository\\UserProjectRepository'] ?? $container->load('getUserProjectRepositoryService')));
  32.         return $container->privates['debug.security.voter.App\\Security\\Voter\\ProjectVoter'] = new \Symfony\Component\Security\Core\Authorization\Voter\TraceableVoter($c$b);
  33.     }
  34. }