var/cache/website/dev/ContainerKw2fJWT/CustomUrlRequestProcessor_292b929.php line 25

Open in your IDE?
  1. <?php
  2. namespace ContainerKw2fJWT;
  3. include_once \dirname(__DIR__5).'/vendor/sulu/sulu/src/Sulu/Bundle/CustomUrlBundle/Request/CustomUrlRequestProcessor.php';
  4. class CustomUrlRequestProcessor_292b929 extends \Sulu\Bundle\CustomUrlBundle\Request\CustomUrlRequestProcessor implements \ProxyManager\Proxy\VirtualProxyInterface
  5. {
  6.     /**
  7.      * @var \Sulu\Bundle\CustomUrlBundle\Request\CustomUrlRequestProcessor|null wrapped object, if the proxy is initialized
  8.      */
  9.     private $valueHolder79398 null;
  10.     /**
  11.      * @var \Closure|null initializer responsible for generating the wrapped object
  12.      */
  13.     private $initializer33980 null;
  14.     /**
  15.      * @var bool[] map of public properties of the parent class
  16.      */
  17.     private static $publicPropertiesd9779 = [
  18.         
  19.     ];
  20.     public function process(\Symfony\Component\HttpFoundation\Request $request\Sulu\Component\Webspace\Analyzer\Attributes\RequestAttributes $requestAttributes)
  21.     {
  22.         $this->initializer33980 && ($this->initializer33980->__invoke($valueHolder79398$this'process', array('request' => $request'requestAttributes' => $requestAttributes), $this->initializer33980) || 1) && $this->valueHolder79398 $valueHolder79398;
  23.         return $this->valueHolder79398->process($request$requestAttributes);
  24.     }
  25.     public function validate(\Sulu\Component\Webspace\Analyzer\Attributes\RequestAttributes $attributes)
  26.     {
  27.         $this->initializer33980 && ($this->initializer33980->__invoke($valueHolder79398$this'validate', array('attributes' => $attributes), $this->initializer33980) || 1) && $this->valueHolder79398 $valueHolder79398;
  28.         return $this->valueHolder79398->validate($attributes);
  29.     }
  30.     /**
  31.      * Constructor for lazy initialization
  32.      *
  33.      * @param \Closure|null $initializer
  34.      */
  35.     public static function staticProxyConstructor($initializer)
  36.     {
  37.         static $reflection;
  38.         $reflection $reflection ?? new \ReflectionClass(__CLASS__);
  39.         $instance   $reflection->newInstanceWithoutConstructor();
  40.         \Closure::bind(function (\Sulu\Bundle\CustomUrlBundle\Request\CustomUrlRequestProcessor $instance) {
  41.             unset($instance->customUrlManager$instance->generator$instance->webspaceManager$instance->environment);
  42.         }, $instance'Sulu\\Bundle\\CustomUrlBundle\\Request\\CustomUrlRequestProcessor')->__invoke($instance);
  43.         $instance->initializer33980 $initializer;
  44.         return $instance;
  45.     }
  46.     public function __construct(\Sulu\Component\CustomUrl\Manager\CustomUrlManagerInterface $customUrlManager\Sulu\Component\CustomUrl\Generator\GeneratorInterface $generator\Sulu\Component\Webspace\Manager\WebspaceManagerInterface $webspaceManager$environment)
  47.     {
  48.         static $reflection;
  49.         if (! $this->valueHolder79398) {
  50.             $reflection $reflection ?? new \ReflectionClass('Sulu\\Bundle\\CustomUrlBundle\\Request\\CustomUrlRequestProcessor');
  51.             $this->valueHolder79398 $reflection->newInstanceWithoutConstructor();
  52.         \Closure::bind(function (\Sulu\Bundle\CustomUrlBundle\Request\CustomUrlRequestProcessor $instance) {
  53.             unset($instance->customUrlManager$instance->generator$instance->webspaceManager$instance->environment);
  54.         }, $this'Sulu\\Bundle\\CustomUrlBundle\\Request\\CustomUrlRequestProcessor')->__invoke($this);
  55.         }
  56.         $this->valueHolder79398->__construct($customUrlManager$generator$webspaceManager$environment);
  57.     }
  58.     public function & __get($name)
  59.     {
  60.         $this->initializer33980 && ($this->initializer33980->__invoke($valueHolder79398$this'__get', ['name' => $name], $this->initializer33980) || 1) && $this->valueHolder79398 $valueHolder79398;
  61.         if (isset(self::$publicPropertiesd9779[$name])) {
  62.             return $this->valueHolder79398->$name;
  63.         }
  64.         $realInstanceReflection = new \ReflectionClass('Sulu\\Bundle\\CustomUrlBundle\\Request\\CustomUrlRequestProcessor');
  65.         if (! $realInstanceReflection->hasProperty($name)) {
  66.             $targetObject $this->valueHolder79398;
  67.             $backtrace debug_backtrace(false1);
  68.             trigger_error(
  69.                 sprintf(
  70.                     'Undefined property: %s::$%s in %s on line %s',
  71.                     $realInstanceReflection->getName(),
  72.                     $name,
  73.                     $backtrace[0]['file'],
  74.                     $backtrace[0]['line']
  75.                 ),
  76.                 \E_USER_NOTICE
  77.             );
  78.             return $targetObject->$name;
  79.         }
  80.         $targetObject $this->valueHolder79398;
  81.         $accessor = function & () use ($targetObject$name) {
  82.             return $targetObject->$name;
  83.         };
  84.         $backtrace debug_backtrace(true2);
  85.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  86.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  87.         $returnValue = & $accessor();
  88.         return $returnValue;
  89.     }
  90.     public function __set($name$value)
  91.     {
  92.         $this->initializer33980 && ($this->initializer33980->__invoke($valueHolder79398$this'__set', array('name' => $name'value' => $value), $this->initializer33980) || 1) && $this->valueHolder79398 $valueHolder79398;
  93.         $realInstanceReflection = new \ReflectionClass('Sulu\\Bundle\\CustomUrlBundle\\Request\\CustomUrlRequestProcessor');
  94.         if (! $realInstanceReflection->hasProperty($name)) {
  95.             $targetObject $this->valueHolder79398;
  96.             $targetObject->$name $value;
  97.             return $targetObject->$name;
  98.         }
  99.         $targetObject $this->valueHolder79398;
  100.         $accessor = function & () use ($targetObject$name$value) {
  101.             $targetObject->$name $value;
  102.             return $targetObject->$name;
  103.         };
  104.         $backtrace debug_backtrace(true2);
  105.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  106.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  107.         $returnValue = & $accessor();
  108.         return $returnValue;
  109.     }
  110.     public function __isset($name)
  111.     {
  112.         $this->initializer33980 && ($this->initializer33980->__invoke($valueHolder79398$this'__isset', array('name' => $name), $this->initializer33980) || 1) && $this->valueHolder79398 $valueHolder79398;
  113.         $realInstanceReflection = new \ReflectionClass('Sulu\\Bundle\\CustomUrlBundle\\Request\\CustomUrlRequestProcessor');
  114.         if (! $realInstanceReflection->hasProperty($name)) {
  115.             $targetObject $this->valueHolder79398;
  116.             return isset($targetObject->$name);
  117.         }
  118.         $targetObject $this->valueHolder79398;
  119.         $accessor = function () use ($targetObject$name) {
  120.             return isset($targetObject->$name);
  121.         };
  122.         $backtrace debug_backtrace(true2);
  123.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  124.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  125.         $returnValue $accessor();
  126.         return $returnValue;
  127.     }
  128.     public function __unset($name)
  129.     {
  130.         $this->initializer33980 && ($this->initializer33980->__invoke($valueHolder79398$this'__unset', array('name' => $name), $this->initializer33980) || 1) && $this->valueHolder79398 $valueHolder79398;
  131.         $realInstanceReflection = new \ReflectionClass('Sulu\\Bundle\\CustomUrlBundle\\Request\\CustomUrlRequestProcessor');
  132.         if (! $realInstanceReflection->hasProperty($name)) {
  133.             $targetObject $this->valueHolder79398;
  134.             unset($targetObject->$name);
  135.             return;
  136.         }
  137.         $targetObject $this->valueHolder79398;
  138.         $accessor = function () use ($targetObject$name) {
  139.             unset($targetObject->$name);
  140.             return;
  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.         $accessor();
  146.     }
  147.     public function __clone()
  148.     {
  149.         $this->initializer33980 && ($this->initializer33980->__invoke($valueHolder79398$this'__clone', array(), $this->initializer33980) || 1) && $this->valueHolder79398 $valueHolder79398;
  150.         $this->valueHolder79398 = clone $this->valueHolder79398;
  151.     }
  152.     public function __sleep()
  153.     {
  154.         $this->initializer33980 && ($this->initializer33980->__invoke($valueHolder79398$this'__sleep', array(), $this->initializer33980) || 1) && $this->valueHolder79398 $valueHolder79398;
  155.         return array('valueHolder79398');
  156.     }
  157.     public function __wakeup()
  158.     {
  159.         \Closure::bind(function (\Sulu\Bundle\CustomUrlBundle\Request\CustomUrlRequestProcessor $instance) {
  160.             unset($instance->customUrlManager$instance->generator$instance->webspaceManager$instance->environment);
  161.         }, $this'Sulu\\Bundle\\CustomUrlBundle\\Request\\CustomUrlRequestProcessor')->__invoke($this);
  162.     }
  163.     public function setProxyInitializer(\Closure $initializer null) : void
  164.     {
  165.         $this->initializer33980 $initializer;
  166.     }
  167.     public function getProxyInitializer() : ?\Closure
  168.     {
  169.         return $this->initializer33980;
  170.     }
  171.     public function initializeProxy() : bool
  172.     {
  173.         return $this->initializer33980 && ($this->initializer33980->__invoke($valueHolder79398$this'initializeProxy', array(), $this->initializer33980) || 1) && $this->valueHolder79398 $valueHolder79398;
  174.     }
  175.     public function isProxyInitialized() : bool
  176.     {
  177.         return null !== $this->valueHolder79398;
  178.     }
  179.     public function getWrappedValueHolderValue()
  180.     {
  181.         return $this->valueHolder79398;
  182.     }
  183. }
  184. if (!\class_exists('CustomUrlRequestProcessor_292b929'false)) {
  185.     \class_alias(__NAMESPACE__.'\\CustomUrlRequestProcessor_292b929''CustomUrlRequestProcessor_292b929'false);
  186. }