var/cache/dev/ContainerTvMS3Ec/TokenAuthorizedRouter_0d037e1.php line 6

Open in your IDE?
  1. <?php
  2. namespace ContainerTvMS3Ec;
  3. include_once \dirname(__DIR__4).'/vendor/ezsystems/ezplatform-page-builder/src/lib/Security/EditorialMode/TokenAuthorizedRouter.php';
  4. class TokenAuthorizedRouter_0d037e1 extends \EzSystems\EzPlatformPageBuilder\Security\EditorialMode\TokenAuthorizedRouter implements \ProxyManager\Proxy\VirtualProxyInterface
  5. {
  6.     /**
  7.      * @var \EzSystems\EzPlatformPageBuilder\Security\EditorialMode\TokenAuthorizedRouter|null wrapped object, if the proxy is initialized
  8.      */
  9.     private $valueHoldere987c null;
  10.     /**
  11.      * @var \Closure|null initializer responsible for generating the wrapped object
  12.      */
  13.     private $initializer298a1 null;
  14.     /**
  15.      * @var bool[] map of public properties of the parent class
  16.      */
  17.     private static $publicProperties1d886 = [
  18.         
  19.     ];
  20.     public function generate($name$parameters = [], $referenceType 1) : string
  21.     {
  22.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'generate', array('name' => $name'parameters' => $parameters'referenceType' => $referenceType), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  23.         return $this->valueHoldere987c->generate($name$parameters$referenceType);
  24.     }
  25.     public function supports($name) : bool
  26.     {
  27.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'supports', array('name' => $name), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  28.         return $this->valueHoldere987c->supports($name);
  29.     }
  30.     public function getRouteDebugMessage($name, array $parameters = []) : string
  31.     {
  32.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'getRouteDebugMessage', array('name' => $name'parameters' => $parameters), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  33.         return $this->valueHoldere987c->getRouteDebugMessage($name$parameters);
  34.     }
  35.     public function getContext()
  36.     {
  37.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'getContext', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  38.         return $this->valueHoldere987c->getContext();
  39.     }
  40.     public function add($router$priority 0)
  41.     {
  42.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'add', array('router' => $router'priority' => $priority), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  43.         return $this->valueHoldere987c->add($router$priority);
  44.     }
  45.     public function all()
  46.     {
  47.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'all', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  48.         return $this->valueHoldere987c->all();
  49.     }
  50.     public function match($pathinfo)
  51.     {
  52.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'match', array('pathinfo' => $pathinfo), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  53.         return $this->valueHoldere987c->match($pathinfo);
  54.     }
  55.     public function matchRequest(\Symfony\Component\HttpFoundation\Request $request)
  56.     {
  57.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'matchRequest', array('request' => $request), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  58.         return $this->valueHoldere987c->matchRequest($request);
  59.     }
  60.     public function setContext(\Symfony\Component\Routing\RequestContext $context)
  61.     {
  62.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'setContext', array('context' => $context), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  63.         return $this->valueHoldere987c->setContext($context);
  64.     }
  65.     public function warmUp($cacheDir)
  66.     {
  67.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'warmUp', array('cacheDir' => $cacheDir), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  68.         return $this->valueHoldere987c->warmUp($cacheDir);
  69.     }
  70.     public function getRouteCollection()
  71.     {
  72.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'getRouteCollection', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  73.         return $this->valueHoldere987c->getRouteCollection();
  74.     }
  75.     public function hasRouters()
  76.     {
  77.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'hasRouters', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  78.         return $this->valueHoldere987c->hasRouters();
  79.     }
  80.     /**
  81.      * Constructor for lazy initialization
  82.      *
  83.      * @param \Closure|null $initializer
  84.      */
  85.     public static function staticProxyConstructor($initializer)
  86.     {
  87.         static $reflection;
  88.         $reflection $reflection ?? new \ReflectionClass(__CLASS__);
  89.         $instance   $reflection->newInstanceWithoutConstructor();
  90.         unset($instance->logger);
  91.         \Closure::bind(function (\EzSystems\EzPlatformPageBuilder\Security\EditorialMode\TokenAuthorizedRouter $instance) {
  92.             unset($instance->jwtTokenManager$instance->tokenStorage$instance->router$instance->authenticator$instance->routesMap);
  93.         }, $instance'EzSystems\\EzPlatformPageBuilder\\Security\\EditorialMode\\TokenAuthorizedRouter')->__invoke($instance);
  94.         \Closure::bind(function (\Symfony\Cmf\Component\Routing\ChainRouter $instance) {
  95.             unset($instance->context$instance->routers$instance->sortedRouters$instance->routeCollection);
  96.         }, $instance'Symfony\\Cmf\\Component\\Routing\\ChainRouter')->__invoke($instance);
  97.         $instance->initializer298a1 $initializer;
  98.         return $instance;
  99.     }
  100.     public function __construct(\Symfony\Component\Routing\RouterInterface $router, ?\EzSystems\EzPlatformPageBuilder\Security\EditorialMode\TokenManager $jwtTokenManager, \Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage, ?\EzSystems\EzPlatformPageBuilder\Security\EditorialMode\TokenAuthenticator $authenticator, array $routesMap, ?\Psr\Log\LoggerInterface $logger null)
  101.     {
  102.         static $reflection;
  103.         if (! $this->valueHoldere987c) {
  104.             $reflection $reflection ?? new \ReflectionClass('EzSystems\\EzPlatformPageBuilder\\Security\\EditorialMode\\TokenAuthorizedRouter');
  105.             $this->valueHoldere987c $reflection->newInstanceWithoutConstructor();
  106.         unset($this->logger);
  107.         \Closure::bind(function (\EzSystems\EzPlatformPageBuilder\Security\EditorialMode\TokenAuthorizedRouter $instance) {
  108.             unset($instance->jwtTokenManager$instance->tokenStorage$instance->router$instance->authenticator$instance->routesMap);
  109.         }, $this'EzSystems\\EzPlatformPageBuilder\\Security\\EditorialMode\\TokenAuthorizedRouter')->__invoke($this);
  110.         \Closure::bind(function (\Symfony\Cmf\Component\Routing\ChainRouter $instance) {
  111.             unset($instance->context$instance->routers$instance->sortedRouters$instance->routeCollection);
  112.         }, $this'Symfony\\Cmf\\Component\\Routing\\ChainRouter')->__invoke($this);
  113.         }
  114.         $this->valueHoldere987c->__construct($router$jwtTokenManager$tokenStorage$authenticator$routesMap$logger);
  115.     }
  116.     public function & __get($name)
  117.     {
  118.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__get', ['name' => $name], $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  119.         if (isset(self::$publicProperties1d886[$name])) {
  120.             return $this->valueHoldere987c->$name;
  121.         }
  122.         $realInstanceReflection = new \ReflectionClass('EzSystems\\EzPlatformPageBuilder\\Security\\EditorialMode\\TokenAuthorizedRouter');
  123.         if (! $realInstanceReflection->hasProperty($name)) {
  124.             $targetObject $this->valueHoldere987c;
  125.             $backtrace debug_backtrace(false1);
  126.             trigger_error(
  127.                 sprintf(
  128.                     'Undefined property: %s::$%s in %s on line %s',
  129.                     $realInstanceReflection->getName(),
  130.                     $name,
  131.                     $backtrace[0]['file'],
  132.                     $backtrace[0]['line']
  133.                 ),
  134.                 \E_USER_NOTICE
  135.             );
  136.             return $targetObject->$name;
  137.         }
  138.         $targetObject $this->valueHoldere987c;
  139.         $accessor = function & () use ($targetObject$name) {
  140.             return $targetObject->$name;
  141.         };
  142.         $backtrace debug_backtrace(true2);
  143.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  144.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  145.         $returnValue = & $accessor();
  146.         return $returnValue;
  147.     }
  148.     public function __set($name$value)
  149.     {
  150.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__set', array('name' => $name'value' => $value), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  151.         $realInstanceReflection = new \ReflectionClass('EzSystems\\EzPlatformPageBuilder\\Security\\EditorialMode\\TokenAuthorizedRouter');
  152.         if (! $realInstanceReflection->hasProperty($name)) {
  153.             $targetObject $this->valueHoldere987c;
  154.             $targetObject->$name $value;
  155.             return $targetObject->$name;
  156.         }
  157.         $targetObject $this->valueHoldere987c;
  158.         $accessor = function & () use ($targetObject$name$value) {
  159.             $targetObject->$name $value;
  160.             return $targetObject->$name;
  161.         };
  162.         $backtrace debug_backtrace(true2);
  163.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  164.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  165.         $returnValue = & $accessor();
  166.         return $returnValue;
  167.     }
  168.     public function __isset($name)
  169.     {
  170.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__isset', array('name' => $name), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  171.         $realInstanceReflection = new \ReflectionClass('EzSystems\\EzPlatformPageBuilder\\Security\\EditorialMode\\TokenAuthorizedRouter');
  172.         if (! $realInstanceReflection->hasProperty($name)) {
  173.             $targetObject $this->valueHoldere987c;
  174.             return isset($targetObject->$name);
  175.         }
  176.         $targetObject $this->valueHoldere987c;
  177.         $accessor = function () use ($targetObject$name) {
  178.             return isset($targetObject->$name);
  179.         };
  180.         $backtrace debug_backtrace(true2);
  181.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  182.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  183.         $returnValue $accessor();
  184.         return $returnValue;
  185.     }
  186.     public function __unset($name)
  187.     {
  188.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__unset', array('name' => $name), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  189.         $realInstanceReflection = new \ReflectionClass('EzSystems\\EzPlatformPageBuilder\\Security\\EditorialMode\\TokenAuthorizedRouter');
  190.         if (! $realInstanceReflection->hasProperty($name)) {
  191.             $targetObject $this->valueHoldere987c;
  192.             unset($targetObject->$name);
  193.             return;
  194.         }
  195.         $targetObject $this->valueHoldere987c;
  196.         $accessor = function () use ($targetObject$name) {
  197.             unset($targetObject->$name);
  198.             return;
  199.         };
  200.         $backtrace debug_backtrace(true2);
  201.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  202.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  203.         $accessor();
  204.     }
  205.     public function __clone()
  206.     {
  207.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__clone', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  208.         $this->valueHoldere987c = clone $this->valueHoldere987c;
  209.     }
  210.     public function __sleep()
  211.     {
  212.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__sleep', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  213.         return array('valueHoldere987c');
  214.     }
  215.     public function __wakeup()
  216.     {
  217.         unset($this->logger);
  218.         \Closure::bind(function (\EzSystems\EzPlatformPageBuilder\Security\EditorialMode\TokenAuthorizedRouter $instance) {
  219.             unset($instance->jwtTokenManager$instance->tokenStorage$instance->router$instance->authenticator$instance->routesMap);
  220.         }, $this'EzSystems\\EzPlatformPageBuilder\\Security\\EditorialMode\\TokenAuthorizedRouter')->__invoke($this);
  221.         \Closure::bind(function (\Symfony\Cmf\Component\Routing\ChainRouter $instance) {
  222.             unset($instance->context$instance->routers$instance->sortedRouters$instance->routeCollection);
  223.         }, $this'Symfony\\Cmf\\Component\\Routing\\ChainRouter')->__invoke($this);
  224.     }
  225.     public function setProxyInitializer(\Closure $initializer null) : void
  226.     {
  227.         $this->initializer298a1 $initializer;
  228.     }
  229.     public function getProxyInitializer() : ?\Closure
  230.     {
  231.         return $this->initializer298a1;
  232.     }
  233.     public function initializeProxy() : bool
  234.     {
  235.         return $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'initializeProxy', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  236.     }
  237.     public function isProxyInitialized() : bool
  238.     {
  239.         return null !== $this->valueHoldere987c;
  240.     }
  241.     public function getWrappedValueHolderValue()
  242.     {
  243.         return $this->valueHoldere987c;
  244.     }
  245. }
  246. if (!\class_exists('TokenAuthorizedRouter_0d037e1'false)) {
  247.     \class_alias(__NAMESPACE__.'\\TokenAuthorizedRouter_0d037e1''TokenAuthorizedRouter_0d037e1'false);
  248. }