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

Open in your IDE?
  1. <?php
  2. namespace ProxyManagerGeneratedProxy\__PM__\eZ\Publish\API\Repository\Values\User\User;
  3. class Generated61bab66c7882614d4f4debeb7aac842b extends \eZ\Publish\API\Repository\Values\User\User implements \ProxyManager\Proxy\VirtualProxyInterface
  4. {
  5.     /**
  6.      * @var \eZ\Publish\API\Repository\Values\User\User|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 $signature61bab66c7882614d4f4debeb7aac842b 'YTo0OntzOjk6ImNsYXNzTmFtZSI7czo0MjoiZVpcUHVibGlzaFxBUElcUmVwb3NpdG9yeVxWYWx1ZXNcVXNlclxVc2VyIjtzOjc6ImZhY3RvcnkiO3M6NTA6IlByb3h5TWFuYWdlclxGYWN0b3J5XExhenlMb2FkaW5nVmFsdWVIb2xkZXJGYWN0b3J5IjtzOjE5OiJwcm94eU1hbmFnZXJWZXJzaW9uIjtzOjQ3OiJ2MS4wLjVAMDA2YWE1ZDMyZjg4N2E0ZGI0MzUzYjEzYjViNTA5NTYxM2UwNjExZiI7czoxMjoicHJveHlPcHRpb25zIjthOjA6e319';
  20.     public function getUserId() : int
  21.     {
  22.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'getUserId', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  23.         return $this->valueHoldere987c->getUserId();
  24.     }
  25.     public function getVersionInfo() : \eZ\Publish\API\Repository\Values\Content\VersionInfo
  26.     {
  27.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'getVersionInfo', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  28.         return $this->valueHoldere987c->getVersionInfo();
  29.     }
  30.     public function getName(?string $languageCode null) : ?string
  31.     {
  32.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'getName', array('languageCode' => $languageCode), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  33.         return $this->valueHoldere987c->getName($languageCode);
  34.     }
  35.     public function getFieldValue(string $fieldDefIdentifier, ?string $languageCode null) : ?\eZ\Publish\SPI\FieldType\Value
  36.     {
  37.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'getFieldValue', array('fieldDefIdentifier' => $fieldDefIdentifier'languageCode' => $languageCode), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  38.         return $this->valueHoldere987c->getFieldValue($fieldDefIdentifier$languageCode);
  39.     }
  40.     public function getFields() : iterable
  41.     {
  42.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'getFields', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  43.         return $this->valueHoldere987c->getFields();
  44.     }
  45.     public function getFieldsByLanguage(?string $languageCode null) : iterable
  46.     {
  47.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'getFieldsByLanguage', array('languageCode' => $languageCode), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  48.         return $this->valueHoldere987c->getFieldsByLanguage($languageCode);
  49.     }
  50.     public function getField(string $fieldDefIdentifier, ?string $languageCode null) : ?\eZ\Publish\API\Repository\Values\Content\Field
  51.     {
  52.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'getField', array('fieldDefIdentifier' => $fieldDefIdentifier'languageCode' => $languageCode), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  53.         return $this->valueHoldere987c->getField($fieldDefIdentifier$languageCode);
  54.     }
  55.     public function getContentType() : \eZ\Publish\API\Repository\Values\ContentType\ContentType
  56.     {
  57.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'getContentType', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  58.         return $this->valueHoldere987c->getContentType();
  59.     }
  60.     public function getThumbnail() : ?\eZ\Publish\API\Repository\Values\Content\Thumbnail
  61.     {
  62.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'getThumbnail', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  63.         return $this->valueHoldere987c->getThumbnail();
  64.     }
  65.     /**
  66.      * Constructor for lazy initialization
  67.      *
  68.      * @param \Closure|null $initializer
  69.      */
  70.     public static function staticProxyConstructor($initializer)
  71.     {
  72.         static $reflection;
  73.         $reflection $reflection ?? new \ReflectionClass(__CLASS__);
  74.         $instance   $reflection->newInstanceWithoutConstructor();
  75.         unset($instance->login$instance->email$instance->passwordHash$instance->passwordUpdatedAt$instance->hashAlgorithm$instance->enabled$instance->maxLogin);
  76.         $instance->initializer298a1 $initializer;
  77.         return $instance;
  78.     }
  79.     public function __construct(array $properties = [])
  80.     {
  81.         static $reflection;
  82.         if (! $this->valueHoldere987c) {
  83.             $reflection $reflection ?? new \ReflectionClass('eZ\\Publish\\API\\Repository\\Values\\User\\User');
  84.             $this->valueHoldere987c $reflection->newInstanceWithoutConstructor();
  85.         unset($this->login$this->email$this->passwordHash$this->passwordUpdatedAt$this->hashAlgorithm$this->enabled$this->maxLogin);
  86.         }
  87.         $this->valueHoldere987c->__construct($properties);
  88.     }
  89.     public function __get($name)
  90.     {
  91.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__get', ['name' => $name], $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  92.         if (isset(self::$publicProperties1d886[$name])) {
  93.             return $this->valueHoldere987c->$name;
  94.         }
  95.         return $this->valueHoldere987c->__get($name);
  96.     }
  97.     public function __set($name$value)
  98.     {
  99.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__set', array('name' => $name'value' => $value), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  100.         return $this->valueHoldere987c->__set($name$value);
  101.     }
  102.     public function __isset($name)
  103.     {
  104.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__isset', array('name' => $name), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  105.         $realInstanceReflection = new \ReflectionClass('eZ\\Publish\\API\\Repository\\Values\\User\\User');
  106.         if (! $realInstanceReflection->hasProperty($name)) {
  107.             $targetObject $this->valueHoldere987c;
  108.             return isset($targetObject->$name);
  109.         }
  110.         $targetObject $this->valueHoldere987c;
  111.         $accessor = function () use ($targetObject$name) {
  112.             return isset($targetObject->$name);
  113.         };
  114.         $backtrace debug_backtrace(true2);
  115.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  116.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  117.         $returnValue $accessor();
  118.         return $returnValue;
  119.     }
  120.     public function __unset($name)
  121.     {
  122.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__unset', array('name' => $name), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  123.         return $this->valueHoldere987c->__unset($name);
  124.     }
  125.     public function __clone()
  126.     {
  127.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__clone', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  128.         $this->valueHoldere987c = clone $this->valueHoldere987c;
  129.     }
  130.     public function __sleep()
  131.     {
  132.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__sleep', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  133.         return array('valueHoldere987c');
  134.     }
  135.     public function __wakeup()
  136.     {
  137.         unset($this->login$this->email$this->passwordHash$this->passwordUpdatedAt$this->hashAlgorithm$this->enabled$this->maxLogin);
  138.     }
  139.     public function setProxyInitializer(\Closure $initializer null) : void
  140.     {
  141.         $this->initializer298a1 $initializer;
  142.     }
  143.     public function getProxyInitializer() : ?\Closure
  144.     {
  145.         return $this->initializer298a1;
  146.     }
  147.     public function initializeProxy() : bool
  148.     {
  149.         return $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'initializeProxy', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  150.     }
  151.     public function isProxyInitialized() : bool
  152.     {
  153.         return null !== $this->valueHoldere987c;
  154.     }
  155.     public function getWrappedValueHolderValue()
  156.     {
  157.         return $this->valueHoldere987c;
  158.     }
  159. }