var/cache/dev/repository/proxy/ProxyManagerGeneratedProxy__PM__eZPublishAPIRepositoryValuesContentLocationGeneratedc45d947efd064860181bcfa2d22793e7.php line 5

Open in your IDE?
  1. <?php
  2. namespace ProxyManagerGeneratedProxy\__PM__\eZ\Publish\API\Repository\Values\Content\Location;
  3. class Generatedc45d947efd064860181bcfa2d22793e7 extends \eZ\Publish\API\Repository\Values\Content\Location implements \ProxyManager\Proxy\VirtualProxyInterface
  4. {
  5.     /**
  6.      * @var \eZ\Publish\API\Repository\Values\Content\Location|null wrapped object, if the proxy is initialized
  7.      */
  8.     private $valueHoldere987c null;
  9.     /**
  10.      * @var \Closure|null initializer responsible for generating the wrapped object
  11.      */
  12.     private $initializer298a1 null;
  13.     /**
  14.      * @var bool[] map of public properties of the parent class
  15.      */
  16.     private static $publicProperties1d886 = [
  17.         'status' => true,
  18.     ];
  19.     private static $signaturec45d947efd064860181bcfa2d22793e7 'YTo0OntzOjk6ImNsYXNzTmFtZSI7czo0OToiZVpcUHVibGlzaFxBUElcUmVwb3NpdG9yeVxWYWx1ZXNcQ29udGVudFxMb2NhdGlvbiI7czo3OiJmYWN0b3J5IjtzOjUwOiJQcm94eU1hbmFnZXJcRmFjdG9yeVxMYXp5TG9hZGluZ1ZhbHVlSG9sZGVyRmFjdG9yeSI7czoxOToicHJveHlNYW5hZ2VyVmVyc2lvbiI7czo0NzoidjEuMC41QDAwNmFhNWQzMmY4ODdhNGRiNDM1M2IxM2I1YjUwOTU2MTNlMDYxMWYiO3M6MTI6InByb3h5T3B0aW9ucyI7YTowOnt9fQ==';
  20.     public function getContentInfo() : \eZ\Publish\API\Repository\Values\Content\ContentInfo
  21.     {
  22.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'getContentInfo', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  23.         return $this->valueHoldere987c->getContentInfo();
  24.     }
  25.     public function getParentLocation() : ?\eZ\Publish\API\Repository\Values\Content\Location
  26.     {
  27.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'getParentLocation', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  28.         return $this->valueHoldere987c->getParentLocation();
  29.     }
  30.     public function isDraft() : bool
  31.     {
  32.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'isDraft', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  33.         return $this->valueHoldere987c->isDraft();
  34.     }
  35.     public function getContent() : \eZ\Publish\API\Repository\Values\Content\Content
  36.     {
  37.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'getContent', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  38.         return $this->valueHoldere987c->getContent();
  39.     }
  40.     public function getSortClauses() : array
  41.     {
  42.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'getSortClauses', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  43.         return $this->valueHoldere987c->getSortClauses();
  44.     }
  45.     /**
  46.      * Constructor for lazy initialization
  47.      *
  48.      * @param \Closure|null $initializer
  49.      */
  50.     public static function staticProxyConstructor($initializer)
  51.     {
  52.         static $reflection;
  53.         $reflection $reflection ?? new \ReflectionClass(__CLASS__);
  54.         $instance   $reflection->newInstanceWithoutConstructor();
  55.         unset($instance->status$instance->id$instance->priority$instance->hidden$instance->invisible$instance->explicitlyHidden$instance->remoteId$instance->parentLocationId$instance->pathString$instance->depth$instance->sortField$instance->sortOrder$instance->content);
  56.         $instance->initializer298a1 $initializer;
  57.         return $instance;
  58.     }
  59.     public function __construct(array $properties = [])
  60.     {
  61.         static $reflection;
  62.         if (! $this->valueHoldere987c) {
  63.             $reflection $reflection ?? new \ReflectionClass('eZ\\Publish\\API\\Repository\\Values\\Content\\Location');
  64.             $this->valueHoldere987c $reflection->newInstanceWithoutConstructor();
  65.         unset($this->status$this->id$this->priority$this->hidden$this->invisible$this->explicitlyHidden$this->remoteId$this->parentLocationId$this->pathString$this->depth$this->sortField$this->sortOrder$this->content);
  66.         }
  67.         $this->valueHoldere987c->__construct($properties);
  68.     }
  69.     public function __get($name)
  70.     {
  71.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__get', ['name' => $name], $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  72.         if (isset(self::$publicProperties1d886[$name])) {
  73.             return $this->valueHoldere987c->$name;
  74.         }
  75.         return $this->valueHoldere987c->__get($name);
  76.     }
  77.     public function __set($name$value)
  78.     {
  79.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__set', array('name' => $name'value' => $value), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  80.         if (isset(self::$publicProperties1d886[$name])) {
  81.             return ($this->valueHoldere987c->$name $value);
  82.         }
  83.         return $this->valueHoldere987c->__set($name$value);
  84.     }
  85.     public function __isset($name)
  86.     {
  87.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__isset', array('name' => $name), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  88.         if (isset(self::$publicProperties1d886[$name])) {
  89.             return isset($this->valueHoldere987c->$name);
  90.         }
  91.         $realInstanceReflection = new \ReflectionClass('eZ\\Publish\\API\\Repository\\Values\\Content\\Location');
  92.         if (! $realInstanceReflection->hasProperty($name)) {
  93.             $targetObject $this->valueHoldere987c;
  94.             return isset($targetObject->$name);
  95.         }
  96.         $targetObject $this->valueHoldere987c;
  97.         $accessor = function () use ($targetObject$name) {
  98.             return isset($targetObject->$name);
  99.         };
  100.         $backtrace debug_backtrace(true2);
  101.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  102.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  103.         $returnValue $accessor();
  104.         return $returnValue;
  105.     }
  106.     public function __unset($name)
  107.     {
  108.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__unset', array('name' => $name), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  109.         if (isset(self::$publicProperties1d886[$name])) {
  110.             unset($this->valueHoldere987c->$name);
  111.             return;
  112.         }
  113.         return $this->valueHoldere987c->__unset($name);
  114.     }
  115.     public function __clone()
  116.     {
  117.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__clone', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  118.         $this->valueHoldere987c = clone $this->valueHoldere987c;
  119.     }
  120.     public function __sleep()
  121.     {
  122.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__sleep', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  123.         return array('valueHoldere987c');
  124.     }
  125.     public function __wakeup()
  126.     {
  127.         unset($this->status$this->id$this->priority$this->hidden$this->invisible$this->explicitlyHidden$this->remoteId$this->parentLocationId$this->pathString$this->depth$this->sortField$this->sortOrder$this->content);
  128.     }
  129.     public function setProxyInitializer(\Closure $initializer null) : void
  130.     {
  131.         $this->initializer298a1 $initializer;
  132.     }
  133.     public function getProxyInitializer() : ?\Closure
  134.     {
  135.         return $this->initializer298a1;
  136.     }
  137.     public function initializeProxy() : bool
  138.     {
  139.         return $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'initializeProxy', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  140.     }
  141.     public function isProxyInitialized() : bool
  142.     {
  143.         return null !== $this->valueHoldere987c;
  144.     }
  145.     public function getWrappedValueHolderValue()
  146.     {
  147.         return $this->valueHoldere987c;
  148.     }
  149. }