var/cache/dev/ContainerX6JEVE6/getDebug_Security_Voter_Security_Access_ExpressionVoterService.php line 18

Open in your IDE?
  1. <?php
  2. namespace ContainerX6JEVE6;
  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.         include_once \dirname(__DIR__4).'/vendor/symfony/expression-language/ExpressionLanguage.php';
  22.         include_once \dirname(__DIR__4).'/vendor/symfony/security-core/Authorization/ExpressionLanguage.php';
  23.         $a = ($container->services['.container.private.security.authorization_checker'] ?? $container->get_Container_Private_Security_AuthorizationCheckerService());
  24.         if (isset($container->privates['debug.security.voter.security.access.expression_voter'])) {
  25.             return $container->privates['debug.security.voter.security.access.expression_voter'];
  26.         }
  27.         $b = ($container->services['event_dispatcher'] ?? $container->getEventDispatcherService());
  28.         if (isset($container->privates['debug.security.voter.security.access.expression_voter'])) {
  29.             return $container->privates['debug.security.voter.security.access.expression_voter'];
  30.         }
  31.         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['scheb_two_factor.security.authentication.trust_resolver'] ?? $container->load('getSchebTwoFactor_Security_Authentication_TrustResolverService')), $a, ($container->privates['security.role_hierarchy'] ?? $container->getSecurity_RoleHierarchyService())), $b);
  32.     }
  33. }