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

Open in your IDE?
  1. <?php
  2. namespace ProxyManagerGeneratedProxy\__PM__\eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup;
  3. class Generated914824027e384cb8c0a0a7950ee6a8ba extends \eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup implements \ProxyManager\Proxy\VirtualProxyInterface
  4. {
  5.     /**
  6.      * @var \eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup|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.         
  18.     ];
  19.     private static $signature914824027e384cb8c0a0a7950ee6a8ba 'YTo0OntzOjk6ImNsYXNzTmFtZSI7czo2MToiZVpcUHVibGlzaFxBUElcUmVwb3NpdG9yeVxWYWx1ZXNcQ29udGVudFR5cGVcQ29udGVudFR5cGVHcm91cCI7czo3OiJmYWN0b3J5IjtzOjUwOiJQcm94eU1hbmFnZXJcRmFjdG9yeVxMYXp5TG9hZGluZ1ZhbHVlSG9sZGVyRmFjdG9yeSI7czoxOToicHJveHlNYW5hZ2VyVmVyc2lvbiI7czo0NzoidjEuMC41QDAwNmFhNWQzMmY4ODdhNGRiNDM1M2IxM2I1YjUwOTU2MTNlMDYxMWYiO3M6MTI6InByb3h5T3B0aW9ucyI7YTowOnt9fQ==';
  20.     public function getNames()
  21.     {
  22.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'getNames', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  23.         return $this->valueHoldere987c->getNames();
  24.     }
  25.     public function getName($languageCode null)
  26.     {
  27.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'getName', array('languageCode' => $languageCode), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  28.         return $this->valueHoldere987c->getName($languageCode);
  29.     }
  30.     public function getDescriptions()
  31.     {
  32.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'getDescriptions', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  33.         return $this->valueHoldere987c->getDescriptions();
  34.     }
  35.     public function getDescription($languageCode null)
  36.     {
  37.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'getDescription', array('languageCode' => $languageCode), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  38.         return $this->valueHoldere987c->getDescription($languageCode);
  39.     }
  40.     /**
  41.      * Constructor for lazy initialization
  42.      *
  43.      * @param \Closure|null $initializer
  44.      */
  45.     public static function staticProxyConstructor($initializer)
  46.     {
  47.         static $reflection;
  48.         $reflection $reflection ?? new \ReflectionClass(__CLASS__);
  49.         $instance   $reflection->newInstanceWithoutConstructor();
  50.         unset($instance->id$instance->identifier$instance->creationDate$instance->modificationDate$instance->creatorId$instance->modifierId);
  51.         $instance->initializer298a1 $initializer;
  52.         return $instance;
  53.     }
  54.     public function __construct(array $properties = [])
  55.     {
  56.         static $reflection;
  57.         if (! $this->valueHoldere987c) {
  58.             $reflection $reflection ?? new \ReflectionClass('eZ\\Publish\\API\\Repository\\Values\\ContentType\\ContentTypeGroup');
  59.             $this->valueHoldere987c $reflection->newInstanceWithoutConstructor();
  60.         unset($this->id$this->identifier$this->creationDate$this->modificationDate$this->creatorId$this->modifierId);
  61.         }
  62.         $this->valueHoldere987c->__construct($properties);
  63.     }
  64.     public function __get($name)
  65.     {
  66.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__get', ['name' => $name], $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  67.         if (isset(self::$publicProperties1d886[$name])) {
  68.             return $this->valueHoldere987c->$name;
  69.         }
  70.         return $this->valueHoldere987c->__get($name);
  71.     }
  72.     public function __set($name$value)
  73.     {
  74.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__set', array('name' => $name'value' => $value), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  75.         return $this->valueHoldere987c->__set($name$value);
  76.     }
  77.     public function __isset($name)
  78.     {
  79.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__isset', array('name' => $name), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  80.         $realInstanceReflection = new \ReflectionClass('eZ\\Publish\\API\\Repository\\Values\\ContentType\\ContentTypeGroup');
  81.         if (! $realInstanceReflection->hasProperty($name)) {
  82.             $targetObject $this->valueHoldere987c;
  83.             return isset($targetObject->$name);
  84.         }
  85.         $targetObject $this->valueHoldere987c;
  86.         $accessor = function () use ($targetObject$name) {
  87.             return isset($targetObject->$name);
  88.         };
  89.         $backtrace debug_backtrace(true2);
  90.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  91.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  92.         $returnValue $accessor();
  93.         return $returnValue;
  94.     }
  95.     public function __unset($name)
  96.     {
  97.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__unset', array('name' => $name), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  98.         return $this->valueHoldere987c->__unset($name);
  99.     }
  100.     public function __clone()
  101.     {
  102.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__clone', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  103.         $this->valueHoldere987c = clone $this->valueHoldere987c;
  104.     }
  105.     public function __sleep()
  106.     {
  107.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__sleep', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  108.         return array('valueHoldere987c');
  109.     }
  110.     public function __wakeup()
  111.     {
  112.         unset($this->id$this->identifier$this->creationDate$this->modificationDate$this->creatorId$this->modifierId);
  113.     }
  114.     public function setProxyInitializer(\Closure $initializer null) : void
  115.     {
  116.         $this->initializer298a1 $initializer;
  117.     }
  118.     public function getProxyInitializer() : ?\Closure
  119.     {
  120.         return $this->initializer298a1;
  121.     }
  122.     public function initializeProxy() : bool
  123.     {
  124.         return $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'initializeProxy', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  125.     }
  126.     public function isProxyInitialized() : bool
  127.     {
  128.         return null !== $this->valueHoldere987c;
  129.     }
  130.     public function getWrappedValueHolderValue()
  131.     {
  132.         return $this->valueHoldere987c;
  133.     }
  134. }