var/cache/dev/ContainerTvMS3Ec/ContentTypeService_9dabbc3.php line 6

Open in your IDE?
  1. <?php
  2. namespace ContainerTvMS3Ec;
  3. include_once \dirname(__DIR__4).'/vendor/ezsystems/ezplatform-kernel/eZ/Publish/Core/Repository/ContentTypeService.php';
  4. class ContentTypeService_9dabbc3 extends \eZ\Publish\Core\Repository\ContentTypeService implements \ProxyManager\Proxy\VirtualProxyInterface
  5. {
  6.     /**
  7.      * @var \eZ\Publish\Core\Repository\ContentTypeService|null wrapped object, if the proxy is initialized
  8.      */
  9.     private $valueHoldere987c null;
  10.     /**
  11.      * @var \Closure|null initializer responsible for generating the wrapped object
  12.      */
  13.     private $initializer298a1 null;
  14.     /**
  15.      * @var bool[] map of public properties of the parent class
  16.      */
  17.     private static $publicProperties1d886 = [
  18.         
  19.     ];
  20.     public function createContentTypeGroup(\eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroupCreateStruct $contentTypeGroupCreateStruct) : \eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup
  21.     {
  22.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'createContentTypeGroup', array('contentTypeGroupCreateStruct' => $contentTypeGroupCreateStruct), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  23.         return $this->valueHoldere987c->createContentTypeGroup($contentTypeGroupCreateStruct);
  24.     }
  25.     public function loadContentTypeGroup(int $contentTypeGroupId, array $prioritizedLanguages = []) : \eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup
  26.     {
  27.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'loadContentTypeGroup', array('contentTypeGroupId' => $contentTypeGroupId'prioritizedLanguages' => $prioritizedLanguages), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  28.         return $this->valueHoldere987c->loadContentTypeGroup($contentTypeGroupId$prioritizedLanguages);
  29.     }
  30.     public function loadContentTypeGroupByIdentifier(string $contentTypeGroupIdentifier, array $prioritizedLanguages = []) : \eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup
  31.     {
  32.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'loadContentTypeGroupByIdentifier', array('contentTypeGroupIdentifier' => $contentTypeGroupIdentifier'prioritizedLanguages' => $prioritizedLanguages), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  33.         return $this->valueHoldere987c->loadContentTypeGroupByIdentifier($contentTypeGroupIdentifier$prioritizedLanguages);
  34.     }
  35.     public function loadContentTypeGroups(array $prioritizedLanguages = []) : iterable
  36.     {
  37.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'loadContentTypeGroups', array('prioritizedLanguages' => $prioritizedLanguages), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  38.         return $this->valueHoldere987c->loadContentTypeGroups($prioritizedLanguages);
  39.     }
  40.     public function updateContentTypeGroup(\eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup $contentTypeGroup, \eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroupUpdateStruct $contentTypeGroupUpdateStruct) : void
  41.     {
  42.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'updateContentTypeGroup', array('contentTypeGroup' => $contentTypeGroup'contentTypeGroupUpdateStruct' => $contentTypeGroupUpdateStruct), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  43.         $this->valueHoldere987c->updateContentTypeGroup($contentTypeGroup$contentTypeGroupUpdateStruct);
  44. return;
  45.     }
  46.     public function deleteContentTypeGroup(\eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup $contentTypeGroup) : void
  47.     {
  48.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'deleteContentTypeGroup', array('contentTypeGroup' => $contentTypeGroup), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  49.         $this->valueHoldere987c->deleteContentTypeGroup($contentTypeGroup);
  50. return;
  51.     }
  52.     public function createContentType(\eZ\Publish\API\Repository\Values\ContentType\ContentTypeCreateStruct $contentTypeCreateStruct, array $contentTypeGroups) : \eZ\Publish\API\Repository\Values\ContentType\ContentTypeDraft
  53.     {
  54.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'createContentType', array('contentTypeCreateStruct' => $contentTypeCreateStruct'contentTypeGroups' => $contentTypeGroups), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  55.         return $this->valueHoldere987c->createContentType($contentTypeCreateStruct$contentTypeGroups);
  56.     }
  57.     public function loadContentType(int $contentTypeId, array $prioritizedLanguages = []) : \eZ\Publish\API\Repository\Values\ContentType\ContentType
  58.     {
  59.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'loadContentType', array('contentTypeId' => $contentTypeId'prioritizedLanguages' => $prioritizedLanguages), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  60.         return $this->valueHoldere987c->loadContentType($contentTypeId$prioritizedLanguages);
  61.     }
  62.     public function loadContentTypeByIdentifier(string $identifier, array $prioritizedLanguages = []) : \eZ\Publish\API\Repository\Values\ContentType\ContentType
  63.     {
  64.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'loadContentTypeByIdentifier', array('identifier' => $identifier'prioritizedLanguages' => $prioritizedLanguages), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  65.         return $this->valueHoldere987c->loadContentTypeByIdentifier($identifier$prioritizedLanguages);
  66.     }
  67.     public function loadContentTypeByRemoteId(string $remoteId, array $prioritizedLanguages = []) : \eZ\Publish\API\Repository\Values\ContentType\ContentType
  68.     {
  69.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'loadContentTypeByRemoteId', array('remoteId' => $remoteId'prioritizedLanguages' => $prioritizedLanguages), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  70.         return $this->valueHoldere987c->loadContentTypeByRemoteId($remoteId$prioritizedLanguages);
  71.     }
  72.     public function loadContentTypeDraft(int $contentTypeIdbool $ignoreOwnership false) : \eZ\Publish\API\Repository\Values\ContentType\ContentTypeDraft
  73.     {
  74.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'loadContentTypeDraft', array('contentTypeId' => $contentTypeId'ignoreOwnership' => $ignoreOwnership), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  75.         return $this->valueHoldere987c->loadContentTypeDraft($contentTypeId$ignoreOwnership);
  76.     }
  77.     public function loadContentTypeList(array $contentTypeIds, array $prioritizedLanguages = []) : iterable
  78.     {
  79.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'loadContentTypeList', array('contentTypeIds' => $contentTypeIds'prioritizedLanguages' => $prioritizedLanguages), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  80.         return $this->valueHoldere987c->loadContentTypeList($contentTypeIds$prioritizedLanguages);
  81.     }
  82.     public function loadContentTypes(\eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup $contentTypeGroup, array $prioritizedLanguages = []) : iterable
  83.     {
  84.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'loadContentTypes', array('contentTypeGroup' => $contentTypeGroup'prioritizedLanguages' => $prioritizedLanguages), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  85.         return $this->valueHoldere987c->loadContentTypes($contentTypeGroup$prioritizedLanguages);
  86.     }
  87.     public function createContentTypeDraft(\eZ\Publish\API\Repository\Values\ContentType\ContentType $contentType) : \eZ\Publish\API\Repository\Values\ContentType\ContentTypeDraft
  88.     {
  89.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'createContentTypeDraft', array('contentType' => $contentType), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  90.         return $this->valueHoldere987c->createContentTypeDraft($contentType);
  91.     }
  92.     public function updateContentTypeDraft(\eZ\Publish\API\Repository\Values\ContentType\ContentTypeDraft $contentTypeDraft, \eZ\Publish\API\Repository\Values\ContentType\ContentTypeUpdateStruct $contentTypeUpdateStruct) : void
  93.     {
  94.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'updateContentTypeDraft', array('contentTypeDraft' => $contentTypeDraft'contentTypeUpdateStruct' => $contentTypeUpdateStruct), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  95.         $this->valueHoldere987c->updateContentTypeDraft($contentTypeDraft$contentTypeUpdateStruct);
  96. return;
  97.     }
  98.     public function deleteContentType(\eZ\Publish\API\Repository\Values\ContentType\ContentType $contentType) : void
  99.     {
  100.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'deleteContentType', array('contentType' => $contentType), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  101.         $this->valueHoldere987c->deleteContentType($contentType);
  102. return;
  103.     }
  104.     public function copyContentType(\eZ\Publish\API\Repository\Values\ContentType\ContentType $contentType, ?\eZ\Publish\API\Repository\Values\User\User $creator null) : \eZ\Publish\API\Repository\Values\ContentType\ContentType
  105.     {
  106.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'copyContentType', array('contentType' => $contentType'creator' => $creator), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  107.         return $this->valueHoldere987c->copyContentType($contentType$creator);
  108.     }
  109.     public function assignContentTypeGroup(\eZ\Publish\API\Repository\Values\ContentType\ContentType $contentType, \eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup $contentTypeGroup) : void
  110.     {
  111.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'assignContentTypeGroup', array('contentType' => $contentType'contentTypeGroup' => $contentTypeGroup), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  112.         $this->valueHoldere987c->assignContentTypeGroup($contentType$contentTypeGroup);
  113. return;
  114.     }
  115.     public function unassignContentTypeGroup(\eZ\Publish\API\Repository\Values\ContentType\ContentType $contentType, \eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup $contentTypeGroup) : void
  116.     {
  117.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'unassignContentTypeGroup', array('contentType' => $contentType'contentTypeGroup' => $contentTypeGroup), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  118.         $this->valueHoldere987c->unassignContentTypeGroup($contentType$contentTypeGroup);
  119. return;
  120.     }
  121.     public function addFieldDefinition(\eZ\Publish\API\Repository\Values\ContentType\ContentTypeDraft $contentTypeDraft, \eZ\Publish\API\Repository\Values\ContentType\FieldDefinitionCreateStruct $fieldDefinitionCreateStruct) : void
  122.     {
  123.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'addFieldDefinition', array('contentTypeDraft' => $contentTypeDraft'fieldDefinitionCreateStruct' => $fieldDefinitionCreateStruct), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  124.         $this->valueHoldere987c->addFieldDefinition($contentTypeDraft$fieldDefinitionCreateStruct);
  125. return;
  126.     }
  127.     public function removeFieldDefinition(\eZ\Publish\API\Repository\Values\ContentType\ContentTypeDraft $contentTypeDraft, \eZ\Publish\API\Repository\Values\ContentType\FieldDefinition $fieldDefinition) : void
  128.     {
  129.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'removeFieldDefinition', array('contentTypeDraft' => $contentTypeDraft'fieldDefinition' => $fieldDefinition), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  130.         $this->valueHoldere987c->removeFieldDefinition($contentTypeDraft$fieldDefinition);
  131. return;
  132.     }
  133.     public function updateFieldDefinition(\eZ\Publish\API\Repository\Values\ContentType\ContentTypeDraft $contentTypeDraft, \eZ\Publish\API\Repository\Values\ContentType\FieldDefinition $fieldDefinition, \eZ\Publish\API\Repository\Values\ContentType\FieldDefinitionUpdateStruct $fieldDefinitionUpdateStruct) : void
  134.     {
  135.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'updateFieldDefinition', array('contentTypeDraft' => $contentTypeDraft'fieldDefinition' => $fieldDefinition'fieldDefinitionUpdateStruct' => $fieldDefinitionUpdateStruct), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  136.         $this->valueHoldere987c->updateFieldDefinition($contentTypeDraft$fieldDefinition$fieldDefinitionUpdateStruct);
  137. return;
  138.     }
  139.     public function publishContentTypeDraft(\eZ\Publish\API\Repository\Values\ContentType\ContentTypeDraft $contentTypeDraft) : void
  140.     {
  141.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'publishContentTypeDraft', array('contentTypeDraft' => $contentTypeDraft), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  142.         $this->valueHoldere987c->publishContentTypeDraft($contentTypeDraft);
  143. return;
  144.     }
  145.     public function newContentTypeGroupCreateStruct(string $identifier) : \eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroupCreateStruct
  146.     {
  147.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'newContentTypeGroupCreateStruct', array('identifier' => $identifier), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  148.         return $this->valueHoldere987c->newContentTypeGroupCreateStruct($identifier);
  149.     }
  150.     public function newContentTypeCreateStruct(string $identifier) : \eZ\Publish\API\Repository\Values\ContentType\ContentTypeCreateStruct
  151.     {
  152.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'newContentTypeCreateStruct', array('identifier' => $identifier), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  153.         return $this->valueHoldere987c->newContentTypeCreateStruct($identifier);
  154.     }
  155.     public function newContentTypeUpdateStruct() : \eZ\Publish\API\Repository\Values\ContentType\ContentTypeUpdateStruct
  156.     {
  157.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'newContentTypeUpdateStruct', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  158.         return $this->valueHoldere987c->newContentTypeUpdateStruct();
  159.     }
  160.     public function newContentTypeGroupUpdateStruct() : \eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroupUpdateStruct
  161.     {
  162.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'newContentTypeGroupUpdateStruct', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  163.         return $this->valueHoldere987c->newContentTypeGroupUpdateStruct();
  164.     }
  165.     public function newFieldDefinitionCreateStruct(string $identifierstring $fieldTypeIdentifier) : \eZ\Publish\API\Repository\Values\ContentType\FieldDefinitionCreateStruct
  166.     {
  167.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'newFieldDefinitionCreateStruct', array('identifier' => $identifier'fieldTypeIdentifier' => $fieldTypeIdentifier), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  168.         return $this->valueHoldere987c->newFieldDefinitionCreateStruct($identifier$fieldTypeIdentifier);
  169.     }
  170.     public function newFieldDefinitionUpdateStruct() : \eZ\Publish\API\Repository\Values\ContentType\FieldDefinitionUpdateStruct
  171.     {
  172.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'newFieldDefinitionUpdateStruct', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  173.         return $this->valueHoldere987c->newFieldDefinitionUpdateStruct();
  174.     }
  175.     public function isContentTypeUsed(\eZ\Publish\API\Repository\Values\ContentType\ContentType $contentType) : bool
  176.     {
  177.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'isContentTypeUsed', array('contentType' => $contentType), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  178.         return $this->valueHoldere987c->isContentTypeUsed($contentType);
  179.     }
  180.     public function removeContentTypeTranslation(\eZ\Publish\API\Repository\Values\ContentType\ContentTypeDraft $contentTypeDraftstring $languageCode) : \eZ\Publish\API\Repository\Values\ContentType\ContentTypeDraft
  181.     {
  182.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'removeContentTypeTranslation', array('contentTypeDraft' => $contentTypeDraft'languageCode' => $languageCode), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  183.         return $this->valueHoldere987c->removeContentTypeTranslation($contentTypeDraft$languageCode);
  184.     }
  185.     public function deleteUserDrafts(int $userId) : void
  186.     {
  187.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'deleteUserDrafts', array('userId' => $userId), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  188.         $this->valueHoldere987c->deleteUserDrafts($userId);
  189. return;
  190.     }
  191.     /**
  192.      * Constructor for lazy initialization
  193.      *
  194.      * @param \Closure|null $initializer
  195.      */
  196.     public static function staticProxyConstructor($initializer)
  197.     {
  198.         static $reflection;
  199.         $reflection $reflection ?? new \ReflectionClass(__CLASS__);
  200.         $instance   $reflection->newInstanceWithoutConstructor();
  201.         unset($instance->repository$instance->contentTypeHandler$instance->userHandler$instance->settings$instance->contentDomainMapper$instance->contentTypeDomainMapper$instance->fieldTypeRegistry);
  202.         \Closure::bind(function (\eZ\Publish\Core\Repository\ContentTypeService $instance) {
  203.             unset($instance->permissionResolver);
  204.         }, $instance'eZ\\Publish\\Core\\Repository\\ContentTypeService')->__invoke($instance);
  205.         $instance->initializer298a1 $initializer;
  206.         return $instance;
  207.     }
  208.     public function __construct(\eZ\Publish\API\Repository\Repository $repository, \eZ\Publish\SPI\Persistence\Content\Type\Handler $contentTypeHandler, \eZ\Publish\SPI\Persistence\User\Handler $userHandler, \eZ\Publish\Core\Repository\Mapper\ContentDomainMapper $contentDomainMapper, \eZ\Publish\Core\Repository\Mapper\ContentTypeDomainMapper $contentTypeDomainMapper, \eZ\Publish\Core\FieldType\FieldTypeRegistry $fieldTypeRegistry, \eZ\Publish\API\Repository\PermissionResolver $permissionResolver, array $settings = [])
  209.     {
  210.         static $reflection;
  211.         if (! $this->valueHoldere987c) {
  212.             $reflection $reflection ?? new \ReflectionClass('eZ\\Publish\\Core\\Repository\\ContentTypeService');
  213.             $this->valueHoldere987c $reflection->newInstanceWithoutConstructor();
  214.         unset($this->repository$this->contentTypeHandler$this->userHandler$this->settings$this->contentDomainMapper$this->contentTypeDomainMapper$this->fieldTypeRegistry);
  215.         \Closure::bind(function (\eZ\Publish\Core\Repository\ContentTypeService $instance) {
  216.             unset($instance->permissionResolver);
  217.         }, $this'eZ\\Publish\\Core\\Repository\\ContentTypeService')->__invoke($this);
  218.         }
  219.         $this->valueHoldere987c->__construct($repository$contentTypeHandler$userHandler$contentDomainMapper$contentTypeDomainMapper$fieldTypeRegistry$permissionResolver$settings);
  220.     }
  221.     public function & __get($name)
  222.     {
  223.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__get', ['name' => $name], $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  224.         if (isset(self::$publicProperties1d886[$name])) {
  225.             return $this->valueHoldere987c->$name;
  226.         }
  227.         $realInstanceReflection = new \ReflectionClass('eZ\\Publish\\Core\\Repository\\ContentTypeService');
  228.         if (! $realInstanceReflection->hasProperty($name)) {
  229.             $targetObject $this->valueHoldere987c;
  230.             $backtrace debug_backtrace(false1);
  231.             trigger_error(
  232.                 sprintf(
  233.                     'Undefined property: %s::$%s in %s on line %s',
  234.                     $realInstanceReflection->getName(),
  235.                     $name,
  236.                     $backtrace[0]['file'],
  237.                     $backtrace[0]['line']
  238.                 ),
  239.                 \E_USER_NOTICE
  240.             );
  241.             return $targetObject->$name;
  242.         }
  243.         $targetObject $this->valueHoldere987c;
  244.         $accessor = function & () use ($targetObject$name) {
  245.             return $targetObject->$name;
  246.         };
  247.         $backtrace debug_backtrace(true2);
  248.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  249.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  250.         $returnValue = & $accessor();
  251.         return $returnValue;
  252.     }
  253.     public function __set($name$value)
  254.     {
  255.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__set', array('name' => $name'value' => $value), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  256.         $realInstanceReflection = new \ReflectionClass('eZ\\Publish\\Core\\Repository\\ContentTypeService');
  257.         if (! $realInstanceReflection->hasProperty($name)) {
  258.             $targetObject $this->valueHoldere987c;
  259.             $targetObject->$name $value;
  260.             return $targetObject->$name;
  261.         }
  262.         $targetObject $this->valueHoldere987c;
  263.         $accessor = function & () use ($targetObject$name$value) {
  264.             $targetObject->$name $value;
  265.             return $targetObject->$name;
  266.         };
  267.         $backtrace debug_backtrace(true2);
  268.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  269.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  270.         $returnValue = & $accessor();
  271.         return $returnValue;
  272.     }
  273.     public function __isset($name)
  274.     {
  275.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__isset', array('name' => $name), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  276.         $realInstanceReflection = new \ReflectionClass('eZ\\Publish\\Core\\Repository\\ContentTypeService');
  277.         if (! $realInstanceReflection->hasProperty($name)) {
  278.             $targetObject $this->valueHoldere987c;
  279.             return isset($targetObject->$name);
  280.         }
  281.         $targetObject $this->valueHoldere987c;
  282.         $accessor = function () use ($targetObject$name) {
  283.             return isset($targetObject->$name);
  284.         };
  285.         $backtrace debug_backtrace(true2);
  286.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  287.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  288.         $returnValue $accessor();
  289.         return $returnValue;
  290.     }
  291.     public function __unset($name)
  292.     {
  293.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__unset', array('name' => $name), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  294.         $realInstanceReflection = new \ReflectionClass('eZ\\Publish\\Core\\Repository\\ContentTypeService');
  295.         if (! $realInstanceReflection->hasProperty($name)) {
  296.             $targetObject $this->valueHoldere987c;
  297.             unset($targetObject->$name);
  298.             return;
  299.         }
  300.         $targetObject $this->valueHoldere987c;
  301.         $accessor = function () use ($targetObject$name) {
  302.             unset($targetObject->$name);
  303.             return;
  304.         };
  305.         $backtrace debug_backtrace(true2);
  306.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  307.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  308.         $accessor();
  309.     }
  310.     public function __clone()
  311.     {
  312.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__clone', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  313.         $this->valueHoldere987c = clone $this->valueHoldere987c;
  314.     }
  315.     public function __sleep()
  316.     {
  317.         $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'__sleep', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  318.         return array('valueHoldere987c');
  319.     }
  320.     public function __wakeup()
  321.     {
  322.         unset($this->repository$this->contentTypeHandler$this->userHandler$this->settings$this->contentDomainMapper$this->contentTypeDomainMapper$this->fieldTypeRegistry);
  323.         \Closure::bind(function (\eZ\Publish\Core\Repository\ContentTypeService $instance) {
  324.             unset($instance->permissionResolver);
  325.         }, $this'eZ\\Publish\\Core\\Repository\\ContentTypeService')->__invoke($this);
  326.     }
  327.     public function setProxyInitializer(\Closure $initializer null) : void
  328.     {
  329.         $this->initializer298a1 $initializer;
  330.     }
  331.     public function getProxyInitializer() : ?\Closure
  332.     {
  333.         return $this->initializer298a1;
  334.     }
  335.     public function initializeProxy() : bool
  336.     {
  337.         return $this->initializer298a1 && ($this->initializer298a1->__invoke($valueHoldere987c$this'initializeProxy', array(), $this->initializer298a1) || 1) && $this->valueHoldere987c $valueHoldere987c;
  338.     }
  339.     public function isProxyInitialized() : bool
  340.     {
  341.         return null !== $this->valueHoldere987c;
  342.     }
  343.     public function getWrappedValueHolderValue()
  344.     {
  345.         return $this->valueHoldere987c;
  346.     }
  347. }
  348. if (!\class_exists('ContentTypeService_9dabbc3'false)) {
  349.     \class_alias(__NAMESPACE__.'\\ContentTypeService_9dabbc3''ContentTypeService_9dabbc3'false);
  350. }