var/cache/dev/ContainerXos7vnb/AliasGeneratorDecorator_02cce63.php line 27

Open in your IDE?
  1. <?php
  2. class AliasGeneratorDecorator_02cce63 extends \eZ\Bundle\EzPublishCoreBundle\Imagine\Cache\AliasGeneratorDecorator implements \ProxyManager\Proxy\VirtualProxyInterface
  3. {
  4.     /**
  5.      * @var \Closure|null initializer responsible for generating the wrapped object
  6.      */
  7.     private $valueHoldere39e4 null;
  8.     /**
  9.      * @var \Closure|null initializer responsible for generating the wrapped object
  10.      */
  11.     private $initializeraa1bb null;
  12.     /**
  13.      * @var bool[] map of public properties of the parent class
  14.      */
  15.     private static $publicProperties1a37c = [
  16.         
  17.     ];
  18.     public function getVariation(\eZ\Publish\API\Repository\Values\Content\Field $field, \eZ\Publish\API\Repository\Values\Content\VersionInfo $versionInfo$variationName, array $parameters = [])
  19.     {
  20.         $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4$this'getVariation', array('field' => $field'versionInfo' => $versionInfo'variationName' => $variationName'parameters' => $parameters), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 $valueHoldere39e4;
  21.         return $this->valueHoldere39e4->getVariation($field$versionInfo$variationName$parameters);
  22.     }
  23.     public function setSiteAccess(?\eZ\Publish\Core\MVC\Symfony\SiteAccess $siteAccess null)
  24.     {
  25.         $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4$this'setSiteAccess', array('siteAccess' => $siteAccess), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 $valueHoldere39e4;
  26.         return $this->valueHoldere39e4->setSiteAccess($siteAccess);
  27.     }
  28.     /**
  29.      * Constructor for lazy initialization
  30.      *
  31.      * @param \Closure|null $initializer
  32.      */
  33.     public static function staticProxyConstructor($initializer)
  34.     {
  35.         static $reflection;
  36.         $reflection $reflection ?? $reflection = new \ReflectionClass(__CLASS__);
  37.         $instance $reflection->newInstanceWithoutConstructor();
  38.         \Closure::bind(function (\eZ\Bundle\EzPublishCoreBundle\Imagine\Cache\AliasGeneratorDecorator $instance) {
  39.             unset($instance->aliasGenerator$instance->cache$instance->siteAccess$instance->requestContext);
  40.         }, $instance'eZ\\Bundle\\EzPublishCoreBundle\\Imagine\\Cache\\AliasGeneratorDecorator')->__invoke($instance);
  41.         $instance->initializeraa1bb $initializer;
  42.         return $instance;
  43.     }
  44.     public function __construct(\eZ\Publish\SPI\Variation\VariationHandler $aliasGenerator, \Symfony\Component\Cache\Adapter\TagAwareAdapterInterface $cache, \Symfony\Component\Routing\RequestContext $requestContext)
  45.     {
  46.         static $reflection;
  47.         if (! $this->valueHoldere39e4) {
  48.             $reflection $reflection ?: new \ReflectionClass('eZ\\Bundle\\EzPublishCoreBundle\\Imagine\\Cache\\AliasGeneratorDecorator');
  49.             $this->valueHoldere39e4 $reflection->newInstanceWithoutConstructor();
  50.         \Closure::bind(function (\eZ\Bundle\EzPublishCoreBundle\Imagine\Cache\AliasGeneratorDecorator $instance) {
  51.             unset($instance->aliasGenerator$instance->cache$instance->siteAccess$instance->requestContext);
  52.         }, $this'eZ\\Bundle\\EzPublishCoreBundle\\Imagine\\Cache\\AliasGeneratorDecorator')->__invoke($this);
  53.         }
  54.         $this->valueHoldere39e4->__construct($aliasGenerator$cache$requestContext);
  55.     }
  56.     public function & __get($name)
  57.     {
  58.         $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4$this'__get', ['name' => $name], $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 $valueHoldere39e4;
  59.         if (isset(self::$publicProperties1a37c[$name])) {
  60.             return $this->valueHoldere39e4->$name;
  61.         }
  62.         $realInstanceReflection = new \ReflectionClass(get_parent_class($this));
  63.         if (! $realInstanceReflection->hasProperty($name)) {
  64.             $targetObject $this->valueHoldere39e4;
  65.             $backtrace debug_backtrace(false);
  66.             trigger_error(
  67.                 sprintf(
  68.                     'Undefined property: %s::$%s in %s on line %s',
  69.                     get_parent_class($this),
  70.                     $name,
  71.                     $backtrace[0]['file'],
  72.                     $backtrace[0]['line']
  73.                 ),
  74.                 \E_USER_NOTICE
  75.             );
  76.             return $targetObject->$name;
  77.             return;
  78.         }
  79.         $targetObject $this->valueHoldere39e4;
  80.         $accessor = function & () use ($targetObject$name) {
  81.             return $targetObject->$name;
  82.         };
  83.         $backtrace debug_backtrace(true);
  84.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  85.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  86.         $returnValue = & $accessor();
  87.         return $returnValue;
  88.     }
  89.     public function __set($name$value)
  90.     {
  91.         $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4$this'__set', array('name' => $name'value' => $value), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 $valueHoldere39e4;
  92.         $realInstanceReflection = new \ReflectionClass(get_parent_class($this));
  93.         if (! $realInstanceReflection->hasProperty($name)) {
  94.             $targetObject $this->valueHoldere39e4;
  95.             return $targetObject->$name $value;
  96.             return;
  97.         }
  98.         $targetObject $this->valueHoldere39e4;
  99.         $accessor = function & () use ($targetObject$name$value) {
  100.             return $targetObject->$name $value;
  101.         };
  102.         $backtrace debug_backtrace(true);
  103.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  104.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  105.         $returnValue = & $accessor();
  106.         return $returnValue;
  107.     }
  108.     public function __isset($name)
  109.     {
  110.         $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4$this'__isset', array('name' => $name), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 $valueHoldere39e4;
  111.         $realInstanceReflection = new \ReflectionClass(get_parent_class($this));
  112.         if (! $realInstanceReflection->hasProperty($name)) {
  113.             $targetObject $this->valueHoldere39e4;
  114.             return isset($targetObject->$name);
  115.             return;
  116.         }
  117.         $targetObject $this->valueHoldere39e4;
  118.         $accessor = function () use ($targetObject$name) {
  119.             return isset($targetObject->$name);
  120.         };
  121.         $backtrace debug_backtrace(true);
  122.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  123.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  124.         $returnValue $accessor();
  125.         return $returnValue;
  126.     }
  127.     public function __unset($name)
  128.     {
  129.         $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4$this'__unset', array('name' => $name), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 $valueHoldere39e4;
  130.         $realInstanceReflection = new \ReflectionClass(get_parent_class($this));
  131.         if (! $realInstanceReflection->hasProperty($name)) {
  132.             $targetObject $this->valueHoldere39e4;
  133.             unset($targetObject->$name);
  134.             return;
  135.         }
  136.         $targetObject $this->valueHoldere39e4;
  137.         $accessor = function () use ($targetObject$name) {
  138.             unset($targetObject->$name);
  139.         };
  140.         $backtrace debug_backtrace(true);
  141.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  142.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  143.         $returnValue $accessor();
  144.         return $returnValue;
  145.     }
  146.     public function __clone()
  147.     {
  148.         $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4$this'__clone', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 $valueHoldere39e4;
  149.         $this->valueHoldere39e4 = clone $this->valueHoldere39e4;
  150.     }
  151.     public function __sleep()
  152.     {
  153.         $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4$this'__sleep', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 $valueHoldere39e4;
  154.         return array('valueHoldere39e4');
  155.     }
  156.     public function __wakeup()
  157.     {
  158.         \Closure::bind(function (\eZ\Bundle\EzPublishCoreBundle\Imagine\Cache\AliasGeneratorDecorator $instance) {
  159.             unset($instance->aliasGenerator$instance->cache$instance->siteAccess$instance->requestContext);
  160.         }, $this'eZ\\Bundle\\EzPublishCoreBundle\\Imagine\\Cache\\AliasGeneratorDecorator')->__invoke($this);
  161.     }
  162.     public function setProxyInitializer(\Closure $initializer null)
  163.     {
  164.         $this->initializeraa1bb $initializer;
  165.     }
  166.     public function getProxyInitializer()
  167.     {
  168.         return $this->initializeraa1bb;
  169.     }
  170.     public function initializeProxy() : bool
  171.     {
  172.         return $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4$this'initializeProxy', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 $valueHoldere39e4;
  173.     }
  174.     public function isProxyInitialized() : bool
  175.     {
  176.         return null !== $this->valueHoldere39e4;
  177.     }
  178.     public function getWrappedValueHolderValue() : ?object
  179.     {
  180.         return $this->valueHoldere39e4;
  181.     }
  182. }