var/cache/dev/ContainerXos7vnb/Repository_b9efee7.php line 48

Open in your IDE?
  1. <?php
  2. class Repository_b9efee7 extends \eZ\Publish\Core\Repository\Repository implements \ProxyManager\Proxy\VirtualProxyInterface
  3. {
  4.     /**
  5.      * @var \Closure|null initializer responsible for generating the wrapped object
  6.      */
  7.     private $valueHoldere39e4 null;
  8.     /**
  9.      * @var \Closure|null initializer responsible for generating the wrapped object
  10.      */
  11.     private $initializeraa1bb null;
  12.     /**
  13.      * @var bool[] map of public properties of the parent class
  14.      */
  15.     private static $publicProperties1a37c = [
  16.         
  17.     ];
  18.     public function getCurrentUser()
  19.     {
  20.         $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4$this'getCurrentUser', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 $valueHoldere39e4;
  21.         return $this->valueHoldere39e4->getCurrentUser();
  22.     }
  23.     public function getCurrentUserReference()
  24.     {
  25.         $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4$this'getCurrentUserReference', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 $valueHoldere39e4;
  26.         return $this->valueHoldere39e4->getCurrentUserReference();
  27.     }
  28.     public function setCurrentUser(\eZ\Publish\API\Repository\Values\User\UserReference $user)
  29.     {
  30.         $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4$this'setCurrentUser', array('user' => $user), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 $valueHoldere39e4;
  31.         return $this->valueHoldere39e4->setCurrentUser($user);
  32.     }
  33.     public function sudo(callable $callback, ?\eZ\Publish\API\Repository\Repository $outerRepository null)
  34.     {
  35.         $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4$this'sudo', array('callback' => $callback'outerRepository' => $outerRepository), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 $valueHoldere39e4;
  36.         return $this->valueHoldere39e4->sudo($callback$outerRepository);
  37.     }
  38.     public function hasAccess($module$function, ?\eZ\Publish\API\Repository\Values\User\UserReference $user null)
  39.     {
  40.         $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4$this'hasAccess', array('module' => $module'function' => $function'user' => $user), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 $valueHoldere39e4;
  41.         return $this->valueHoldere39e4->hasAccess($module$function$user);
  42.     }
  43.     public function canUser($module$function, \eZ\Publish\API\Repository\Values\ValueObject $object$targets null)
  44.     {
  45.         $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4$this'canUser', array('module' => $module'function' => $function'object' => $object'targets' => $targets), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 $valueHoldere39e4;
  46.         return $this->valueHoldere39e4->canUser($module$function$object$targets);
  47.     }
  48.     public function getContentService()
  49.     {
  50.         $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4$this'getContentService', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 $valueHoldere39e4;
  51.         return $this->valueHoldere39e4->getContentService();
  52.     }
  53.     public function getContentLanguageService()
  54.     {
  55.         $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4$this'getContentLanguageService', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 $valueHoldere39e4;
  56.         return $this->valueHoldere39e4->getContentLanguageService();
  57.     }
  58.     public function getContentTypeService()
  59.     {
  60.         $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4$this'getContentTypeService', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 $valueHoldere39e4;
  61.         return $this->valueHoldere39e4->getContentTypeService();
  62.     }
  63.     public function getLocationService()
  64.     {
  65.         $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4$this'getLocationService', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 $valueHoldere39e4;
  66.         return $this->valueHoldere39e4->getLocationService();
  67.     }
  68.     public function getTrashService()
  69.     {
  70.         $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4$this'getTrashService', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 $valueHoldere39e4;
  71.         return $this->valueHoldere39e4->getTrashService();
  72.     }
  73.     public function getSectionService()
  74.     {
  75.         $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4$this'getSectionService', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 $valueHoldere39e4;
  76.         return $this->valueHoldere39e4->getSectionService();
  77.     }
  78.     public function getUserService()
  79.     {
  80.         $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4$this'getUserService', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 $valueHoldere39e4;
  81.         return $this->valueHoldere39e4->getUserService();
  82.     }
  83.     public function getURLAliasService()
  84.     {
  85.         $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4$this'getURLAliasService', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 $valueHoldere39e4;
  86.         return $this->valueHoldere39e4->getURLAliasService();
  87.     }
  88.     public function getURLWildcardService()
  89.     {
  90.         $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4$this'getURLWildcardService', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 $valueHoldere39e4;
  91.         return $this->valueHoldere39e4->getURLWildcardService();
  92.     }
  93.     public function getURLService()
  94.     {
  95.         $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4$this'getURLService', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 $valueHoldere39e4;
  96.         return $this->valueHoldere39e4->getURLService();
  97.     }
  98.     public function getBookmarkService()
  99.     {
  100.         $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4$this'getBookmarkService', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 $valueHoldere39e4;
  101.         return $this->valueHoldere39e4->getBookmarkService();
  102.     }
  103.     public function getUserPreferenceService()
  104.     {
  105.         $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4$this'getUserPreferenceService', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 $valueHoldere39e4;
  106.         return $this->valueHoldere39e4->getUserPreferenceService();
  107.     }
  108.     public function getObjectStateService()
  109.     {
  110.         $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4$this'getObjectStateService', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 $valueHoldere39e4;
  111.         return $this->valueHoldere39e4->getObjectStateService();
  112.     }
  113.     public function getRoleService()
  114.     {
  115.         $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4$this'getRoleService', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 $valueHoldere39e4;
  116.         return $this->valueHoldere39e4->getRoleService();
  117.     }
  118.     public function getSearchService()
  119.     {
  120.         $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4$this'getSearchService', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 $valueHoldere39e4;
  121.         return $this->valueHoldere39e4->getSearchService();
  122.     }
  123.     public function getFieldTypeService()
  124.     {
  125.         $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4$this'getFieldTypeService', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 $valueHoldere39e4;
  126.         return $this->valueHoldere39e4->getFieldTypeService();
  127.     }
  128.     public function getPermissionResolver()
  129.     {
  130.         $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4$this'getPermissionResolver', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 $valueHoldere39e4;
  131.         return $this->valueHoldere39e4->getPermissionResolver();
  132.     }
  133.     public function getNameSchemaService()
  134.     {
  135.         $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4$this'getNameSchemaService', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 $valueHoldere39e4;
  136.         return $this->valueHoldere39e4->getNameSchemaService();
  137.     }
  138.     public function getNotificationService() : \eZ\Publish\API\Repository\NotificationService
  139.     {
  140.         $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4$this'getNotificationService', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 $valueHoldere39e4;
  141.         return $this->valueHoldere39e4->getNotificationService();
  142.     }
  143.     public function beginTransaction()
  144.     {
  145.         $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4$this'beginTransaction', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 $valueHoldere39e4;
  146.         return $this->valueHoldere39e4->beginTransaction();
  147.     }
  148.     public function commit()
  149.     {
  150.         $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4$this'commit', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 $valueHoldere39e4;
  151.         return $this->valueHoldere39e4->commit();
  152.     }
  153.     public function rollback()
  154.     {
  155.         $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4$this'rollback', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 $valueHoldere39e4;
  156.         return $this->valueHoldere39e4->rollback();
  157.     }
  158.     /**
  159.      * Constructor for lazy initialization
  160.      *
  161.      * @param \Closure|null $initializer
  162.      */
  163.     public static function staticProxyConstructor($initializer)
  164.     {
  165.         static $reflection;
  166.         $reflection $reflection ?? $reflection = new \ReflectionClass(__CLASS__);
  167.         $instance $reflection->newInstanceWithoutConstructor();
  168.         unset($instance->persistenceHandler$instance->searchHandler$instance->currentUser$instance->currentUserRef$instance->contentService$instance->sectionService$instance->roleService$instance->searchService$instance->userService$instance->languageService$instance->locationService$instance->trashService$instance->contentTypeService$instance->objectStateService$instance->fieldTypeService$instance->nameSchemaService$instance->relationProcessor$instance->urlAliasService$instance->urlWildcardService$instance->urlService$instance->bookmarkService$instance->notificationService$instance->userPreferenceService$instance->serviceSettings$instance->limitationService$instance->roleDomainMapper$instance->domainMapper$instance->contentTypeDomainMapper$instance->permissionsHandler$instance->backgroundIndexer);
  169.         \Closure::bind(function (\eZ\Publish\Core\Repository\Repository $instance) {
  170.             unset($instance->fieldTypeRegistry$instance->nameableFieldTypeRegistry$instance->logger);
  171.         }, $instance'eZ\\Publish\\Core\\Repository\\Repository')->__invoke($instance);
  172.         $instance->initializeraa1bb $initializer;
  173.         return $instance;
  174.     }
  175.     public function __construct(\eZ\Publish\SPI\Persistence\Handler $persistenceHandler, \eZ\Publish\SPI\Search\Handler $searchHandler, \eZ\Publish\Core\Search\Common\BackgroundIndexer $backgroundIndexer, \eZ\Publish\Core\Repository\Helper\RelationProcessor $relationProcessor, array $serviceSettings = [], ?\eZ\Publish\API\Repository\Values\User\UserReference $user null, ?\Psr\Log\LoggerInterface $logger null)
  176.     {
  177.         static $reflection;
  178.         if (! $this->valueHoldere39e4) {
  179.             $reflection $reflection ?: new \ReflectionClass('eZ\\Publish\\Core\\Repository\\Repository');
  180.             $this->valueHoldere39e4 $reflection->newInstanceWithoutConstructor();
  181.         unset($this->persistenceHandler$this->searchHandler$this->currentUser$this->currentUserRef$this->contentService$this->sectionService$this->roleService$this->searchService$this->userService$this->languageService$this->locationService$this->trashService$this->contentTypeService$this->objectStateService$this->fieldTypeService$this->nameSchemaService$this->relationProcessor$this->urlAliasService$this->urlWildcardService$this->urlService$this->bookmarkService$this->notificationService$this->userPreferenceService$this->serviceSettings$this->limitationService$this->roleDomainMapper$this->domainMapper$this->contentTypeDomainMapper$this->permissionsHandler$this->backgroundIndexer);
  182.         \Closure::bind(function (\eZ\Publish\Core\Repository\Repository $instance) {
  183.             unset($instance->fieldTypeRegistry$instance->nameableFieldTypeRegistry$instance->logger);
  184.         }, $this'eZ\\Publish\\Core\\Repository\\Repository')->__invoke($this);
  185.         }
  186.         $this->valueHoldere39e4->__construct($persistenceHandler$searchHandler$backgroundIndexer$relationProcessor$serviceSettings$user$logger);
  187.     }
  188.     public function & __get($name)
  189.     {
  190.         $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4$this'__get', ['name' => $name], $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 $valueHoldere39e4;
  191.         if (isset(self::$publicProperties1a37c[$name])) {
  192.             return $this->valueHoldere39e4->$name;
  193.         }
  194.         $realInstanceReflection = new \ReflectionClass(get_parent_class($this));
  195.         if (! $realInstanceReflection->hasProperty($name)) {
  196.             $targetObject $this->valueHoldere39e4;
  197.             $backtrace debug_backtrace(false);
  198.             trigger_error(
  199.                 sprintf(
  200.                     'Undefined property: %s::$%s in %s on line %s',
  201.                     get_parent_class($this),
  202.                     $name,
  203.                     $backtrace[0]['file'],
  204.                     $backtrace[0]['line']
  205.                 ),
  206.                 \E_USER_NOTICE
  207.             );
  208.             return $targetObject->$name;
  209.             return;
  210.         }
  211.         $targetObject $this->valueHoldere39e4;
  212.         $accessor = function & () use ($targetObject$name) {
  213.             return $targetObject->$name;
  214.         };
  215.         $backtrace debug_backtrace(true);
  216.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  217.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  218.         $returnValue = & $accessor();
  219.         return $returnValue;
  220.     }
  221.     public function __set($name$value)
  222.     {
  223.         $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4$this'__set', array('name' => $name'value' => $value), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 $valueHoldere39e4;
  224.         $realInstanceReflection = new \ReflectionClass(get_parent_class($this));
  225.         if (! $realInstanceReflection->hasProperty($name)) {
  226.             $targetObject $this->valueHoldere39e4;
  227.             return $targetObject->$name $value;
  228.             return;
  229.         }
  230.         $targetObject $this->valueHoldere39e4;
  231.         $accessor = function & () use ($targetObject$name$value) {
  232.             return $targetObject->$name $value;
  233.         };
  234.         $backtrace debug_backtrace(true);
  235.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  236.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  237.         $returnValue = & $accessor();
  238.         return $returnValue;
  239.     }
  240.     public function __isset($name)
  241.     {
  242.         $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4$this'__isset', array('name' => $name), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 $valueHoldere39e4;
  243.         $realInstanceReflection = new \ReflectionClass(get_parent_class($this));
  244.         if (! $realInstanceReflection->hasProperty($name)) {
  245.             $targetObject $this->valueHoldere39e4;
  246.             return isset($targetObject->$name);
  247.             return;
  248.         }
  249.         $targetObject $this->valueHoldere39e4;
  250.         $accessor = function () use ($targetObject$name) {
  251.             return isset($targetObject->$name);
  252.         };
  253.         $backtrace debug_backtrace(true);
  254.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  255.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  256.         $returnValue $accessor();
  257.         return $returnValue;
  258.     }
  259.     public function __unset($name)
  260.     {
  261.         $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4$this'__unset', array('name' => $name), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 $valueHoldere39e4;
  262.         $realInstanceReflection = new \ReflectionClass(get_parent_class($this));
  263.         if (! $realInstanceReflection->hasProperty($name)) {
  264.             $targetObject $this->valueHoldere39e4;
  265.             unset($targetObject->$name);
  266.             return;
  267.         }
  268.         $targetObject $this->valueHoldere39e4;
  269.         $accessor = function () use ($targetObject$name) {
  270.             unset($targetObject->$name);
  271.         };
  272.         $backtrace debug_backtrace(true);
  273.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  274.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  275.         $returnValue $accessor();
  276.         return $returnValue;
  277.     }
  278.     public function __clone()
  279.     {
  280.         $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4$this'__clone', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 $valueHoldere39e4;
  281.         $this->valueHoldere39e4 = clone $this->valueHoldere39e4;
  282.     }
  283.     public function __sleep()
  284.     {
  285.         $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4$this'__sleep', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 $valueHoldere39e4;
  286.         return array('valueHoldere39e4');
  287.     }
  288.     public function __wakeup()
  289.     {
  290.         unset($this->persistenceHandler$this->searchHandler$this->currentUser$this->currentUserRef$this->contentService$this->sectionService$this->roleService$this->searchService$this->userService$this->languageService$this->locationService$this->trashService$this->contentTypeService$this->objectStateService$this->fieldTypeService$this->nameSchemaService$this->relationProcessor$this->urlAliasService$this->urlWildcardService$this->urlService$this->bookmarkService$this->notificationService$this->userPreferenceService$this->serviceSettings$this->limitationService$this->roleDomainMapper$this->domainMapper$this->contentTypeDomainMapper$this->permissionsHandler$this->backgroundIndexer);
  291.         \Closure::bind(function (\eZ\Publish\Core\Repository\Repository $instance) {
  292.             unset($instance->fieldTypeRegistry$instance->nameableFieldTypeRegistry$instance->logger);
  293.         }, $this'eZ\\Publish\\Core\\Repository\\Repository')->__invoke($this);
  294.     }
  295.     public function setProxyInitializer(\Closure $initializer null)
  296.     {
  297.         $this->initializeraa1bb $initializer;
  298.     }
  299.     public function getProxyInitializer()
  300.     {
  301.         return $this->initializeraa1bb;
  302.     }
  303.     public function initializeProxy() : bool
  304.     {
  305.         return $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4$this'initializeProxy', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 $valueHoldere39e4;
  306.     }
  307.     public function isProxyInitialized() : bool
  308.     {
  309.         return null !== $this->valueHoldere39e4;
  310.     }
  311.     public function getWrappedValueHolderValue() : ?object
  312.     {
  313.         return $this->valueHoldere39e4;
  314.     }
  315. }