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

Open in your IDE?
  1. <?php
  2. namespace ProxyManagerGeneratedProxy\__PM__\eZ\Publish\API\Repository\Values\ContentType\ContentType;
  3. class Generated743dd6b1deca0fa71da1d3e3af0e9e55 extends \eZ\Publish\API\Repository\Values\ContentType\ContentType implements \ProxyManager\Proxy\VirtualProxyInterface
  4. {
  5.     /**
  6.      * @var \eZ\Publish\API\Repository\Values\ContentType\ContentType|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 $signature743dd6b1deca0fa71da1d3e3af0e9e55 'YTo0OntzOjk6ImNsYXNzTmFtZSI7czo1NjoiZVpcUHVibGlzaFxBUElcUmVwb3NpdG9yeVxWYWx1ZXNcQ29udGVudFR5cGVcQ29udGVudFR5cGUiO3M6NzoiZmFjdG9yeSI7czo1MDoiUHJveHlNYW5hZ2VyXEZhY3RvcnlcTGF6eUxvYWRpbmdWYWx1ZUhvbGRlckZhY3RvcnkiO3M6MTk6InByb3h5TWFuYWdlclZlcnNpb24iO3M6NDc6InYxLjAuNUAwMDZhYTVkMzJmODg3YTRkYjQzNTNiMTNiNWI1MDk1NjEzZTA2MTFmIjtzOjEyOiJwcm94eU9wdGlvbnMiO2E6MDp7fX0=';
  20.     public function getContentTypeGroups()
  21.     {
  22.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'getContentTypeGroups', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  23.         return $this->valueHoldere987c->getContentTypeGroups();
  24.     }
  25.     public function getFieldDefinitions() : \eZ\Publish\API\Repository\Values\ContentType\FieldDefinitionCollection
  26.     {
  27.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'getFieldDefinitions', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  28.         return $this->valueHoldere987c->getFieldDefinitions();
  29.     }
  30.     public function getFieldDefinition($fieldDefinitionIdentifier) : ?\eZ\Publish\API\Repository\Values\ContentType\FieldDefinition
  31.     {
  32.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'getFieldDefinition', array('fieldDefinitionIdentifier' => $fieldDefinitionIdentifier), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  33.         return $this->valueHoldere987c->getFieldDefinition($fieldDefinitionIdentifier);
  34.     }
  35.     public function hasFieldDefinition(string $fieldDefinitionIdentifier) : bool
  36.     {
  37.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'hasFieldDefinition', array('fieldDefinitionIdentifier' => $fieldDefinitionIdentifier), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  38.         return $this->valueHoldere987c->hasFieldDefinition($fieldDefinitionIdentifier);
  39.     }
  40.     public function hasFieldDefinitionOfType(string $fieldTypeIdentifier) : bool
  41.     {
  42.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'hasFieldDefinitionOfType', array('fieldTypeIdentifier' => $fieldTypeIdentifier), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  43.         return $this->valueHoldere987c->hasFieldDefinitionOfType($fieldTypeIdentifier);
  44.     }
  45.     public function getFieldDefinitionsOfType(string $fieldTypeIdentifier) : \eZ\Publish\API\Repository\Values\ContentType\FieldDefinitionCollection
  46.     {
  47.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'getFieldDefinitionsOfType', array('fieldTypeIdentifier' => $fieldTypeIdentifier), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  48.         return $this->valueHoldere987c->getFieldDefinitionsOfType($fieldTypeIdentifier);
  49.     }
  50.     public function getFirstFieldDefinitionOfType(string $fieldTypeIdentifier) : ?\eZ\Publish\API\Repository\Values\ContentType\FieldDefinition
  51.     {
  52.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'getFirstFieldDefinitionOfType', array('fieldTypeIdentifier' => $fieldTypeIdentifier), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  53.         return $this->valueHoldere987c->getFirstFieldDefinitionOfType($fieldTypeIdentifier);
  54.     }
  55.     public function getNames()
  56.     {
  57.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'getNames', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  58.         return $this->valueHoldere987c->getNames();
  59.     }
  60.     public function getName($languageCode null)
  61.     {
  62.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'getName', array('languageCode' => $languageCode), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  63.         return $this->valueHoldere987c->getName($languageCode);
  64.     }
  65.     public function getDescriptions()
  66.     {
  67.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'getDescriptions', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  68.         return $this->valueHoldere987c->getDescriptions();
  69.     }
  70.     public function getDescription($languageCode null)
  71.     {
  72.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'getDescription', array('languageCode' => $languageCode), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  73.         return $this->valueHoldere987c->getDescription($languageCode);
  74.     }
  75.     /**
  76.      * Constructor for lazy initialization
  77.      *
  78.      * @param \Closure|null $initializer
  79.      */
  80.     public static function staticProxyConstructor($initializer)
  81.     {
  82.         static $reflection;
  83.         $reflection $reflection ?? new \ReflectionClass(__CLASS__);
  84.         $instance   $reflection->newInstanceWithoutConstructor();
  85.         unset($instance->id$instance->status$instance->identifier$instance->creationDate$instance->modificationDate$instance->creatorId$instance->modifierId$instance->remoteId$instance->urlAliasSchema$instance->nameSchema$instance->isContainer$instance->defaultAlwaysAvailable$instance->defaultSortField$instance->defaultSortOrder$instance->languageCodes);
  86.         $instance->initializer298a1 $initializer;
  87.         return $instance;
  88.     }
  89.     public function __construct(array $properties = [])
  90.     {
  91.         static $reflection;
  92.         if (! $this->valueHoldere987c) {
  93.             $reflection $reflection ?? new \ReflectionClass('eZ\\Publish\\API\\Repository\\Values\\ContentType\\ContentType');
  94.             $this->valueHoldere987c $reflection->newInstanceWithoutConstructor();
  95.         unset($this->id$this->status$this->identifier$this->creationDate$this->modificationDate$this->creatorId$this->modifierId$this->remoteId$this->urlAliasSchema$this->nameSchema$this->isContainer$this->defaultAlwaysAvailable$this->defaultSortField$this->defaultSortOrder$this->languageCodes);
  96.         }
  97.         $this->valueHoldere987c->__construct($properties);
  98.     }
  99.     public function __get($name)
  100.     {
  101.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__get', ['name' => $name], $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  102.         if (isset(self::$publicProperties1d886[$name])) {
  103.             return $this->valueHoldere987c->$name;
  104.         }
  105.         return $this->valueHoldere987c->__get($name);
  106.     }
  107.     public function __set($name$value)
  108.     {
  109.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__set', array('name' => $name'value' => $value), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  110.         return $this->valueHoldere987c->__set($name$value);
  111.     }
  112.     public function __isset($name)
  113.     {
  114.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__isset', array('name' => $name), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  115.         $realInstanceReflection = new \ReflectionClass('eZ\\Publish\\API\\Repository\\Values\\ContentType\\ContentType');
  116.         if (! $realInstanceReflection->hasProperty($name)) {
  117.             $targetObject $this->valueHoldere987c;
  118.             return isset($targetObject->$name);
  119.         }
  120.         $targetObject $this->valueHoldere987c;
  121.         $accessor = function () use ($targetObject$name) {
  122.             return isset($targetObject->$name);
  123.         };
  124.         $backtrace debug_backtrace(true2);
  125.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  126.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  127.         $returnValue $accessor();
  128.         return $returnValue;
  129.     }
  130.     public function __unset($name)
  131.     {
  132.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__unset', array('name' => $name), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  133.         return $this->valueHoldere987c->__unset($name);
  134.     }
  135.     public function __clone()
  136.     {
  137.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__clone', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  138.         $this->valueHoldere987c = clone $this->valueHoldere987c;
  139.     }
  140.     public function __sleep()
  141.     {
  142.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__sleep', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  143.         return array('valueHoldere987c');
  144.     }
  145.     public function __wakeup()
  146.     {
  147.         unset($this->id$this->status$this->identifier$this->creationDate$this->modificationDate$this->creatorId$this->modifierId$this->remoteId$this->urlAliasSchema$this->nameSchema$this->isContainer$this->defaultAlwaysAvailable$this->defaultSortField$this->defaultSortOrder$this->languageCodes);
  148.     }
  149.     public function setProxyInitializer(\Closure $initializer null) : void
  150.     {
  151.         $this->initializer298a1 $initializer;
  152.     }
  153.     public function getProxyInitializer() : ?\Closure
  154.     {
  155.         return $this->initializer298a1;
  156.     }
  157.     public function initializeProxy() : bool
  158.     {
  159.         return $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'initializeProxy', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  160.     }
  161.     public function isProxyInitialized() : bool
  162.     {
  163.         return null !== $this->valueHoldere987c;
  164.     }
  165.     public function getWrappedValueHolderValue()
  166.     {
  167.         return $this->valueHoldere987c;
  168.     }
  169. }