var/cache/dev/ContainerWHklRYO/getDebug_Security_Voter_Security_Access_ExpressionVoterService.php line 25

Open in your IDE?
  1. <?php
  2. namespace ContainerWHklRYO;
  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 getDebug_Security_Voter_Security_Access_ExpressionVoterService extends App_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the private 'debug.security.voter.security.access.expression_voter' 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/ExpressionVoter.php';
  21.         $a = ($container->services['.container.private.security.authorization_checker'] ?? $container->get_Container_Private_Security_AuthorizationCheckerService());
  22.         if (isset($container->privates['debug.security.voter.security.access.expression_voter'])) {
  23.             return $container->privates['debug.security.voter.security.access.expression_voter'];
  24.         }
  25.         $b = ($container->services['event_dispatcher'] ?? $container->getEventDispatcherService());
  26.         if (isset($container->privates['debug.security.voter.security.access.expression_voter'])) {
  27.             return $container->privates['debug.security.voter.security.access.expression_voter'];
  28.         }
  29.         return $container->privates['debug.security.voter.security.access.expression_voter'] = new \Symfony\Component\Security\Core\Authorization\Voter\TraceableVoter(new \Symfony\Component\Security\Core\Authorization\Voter\ExpressionVoter(new \Symfony\Component\Security\Core\Authorization\ExpressionLanguage(($container->privates['cache.security_expression_language'] ?? $container->getCache_SecurityExpressionLanguageService())), ($container->privates['security.authentication.trust_resolver'] ?? ($container->privates['security.authentication.trust_resolver'] = new \Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolver())), $a, ($container->privates['security.role_hierarchy'] ?? $container->getSecurity_RoleHierarchyService())), $b);
  30.     }
  31. }