<?php
class Repository_b9efee7 extends \eZ\Publish\Core\Repository\Repository implements \ProxyManager\Proxy\VirtualProxyInterface
{
/**
* @var \Closure|null initializer responsible for generating the wrapped object
*/
private $valueHoldere39e4 = null;
/**
* @var \Closure|null initializer responsible for generating the wrapped object
*/
private $initializeraa1bb = null;
/**
* @var bool[] map of public properties of the parent class
*/
private static $publicProperties1a37c = [
];
public function getCurrentUser()
{
$this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, 'getCurrentUser', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
return $this->valueHoldere39e4->getCurrentUser();
}
public function getCurrentUserReference()
{
$this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, 'getCurrentUserReference', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
return $this->valueHoldere39e4->getCurrentUserReference();
}
public function setCurrentUser(\eZ\Publish\API\Repository\Values\User\UserReference $user)
{
$this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, 'setCurrentUser', array('user' => $user), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
return $this->valueHoldere39e4->setCurrentUser($user);
}
public function sudo(callable $callback, ?\eZ\Publish\API\Repository\Repository $outerRepository = null)
{
$this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, 'sudo', array('callback' => $callback, 'outerRepository' => $outerRepository), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
return $this->valueHoldere39e4->sudo($callback, $outerRepository);
}
public function hasAccess($module, $function, ?\eZ\Publish\API\Repository\Values\User\UserReference $user = null)
{
$this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, 'hasAccess', array('module' => $module, 'function' => $function, 'user' => $user), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
return $this->valueHoldere39e4->hasAccess($module, $function, $user);
}
public function canUser($module, $function, \eZ\Publish\API\Repository\Values\ValueObject $object, $targets = null)
{
$this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, 'canUser', array('module' => $module, 'function' => $function, 'object' => $object, 'targets' => $targets), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
return $this->valueHoldere39e4->canUser($module, $function, $object, $targets);
}
public function getContentService()
{
$this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, 'getContentService', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
return $this->valueHoldere39e4->getContentService();
}
public function getContentLanguageService()
{
$this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, 'getContentLanguageService', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
return $this->valueHoldere39e4->getContentLanguageService();
}
public function getContentTypeService()
{
$this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, 'getContentTypeService', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
return $this->valueHoldere39e4->getContentTypeService();
}
public function getLocationService()
{
$this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, 'getLocationService', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
return $this->valueHoldere39e4->getLocationService();
}
public function getTrashService()
{
$this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, 'getTrashService', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
return $this->valueHoldere39e4->getTrashService();
}
public function getSectionService()
{
$this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, 'getSectionService', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
return $this->valueHoldere39e4->getSectionService();
}
public function getUserService()
{
$this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, 'getUserService', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
return $this->valueHoldere39e4->getUserService();
}
public function getURLAliasService()
{
$this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, 'getURLAliasService', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
return $this->valueHoldere39e4->getURLAliasService();
}
public function getURLWildcardService()
{
$this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, 'getURLWildcardService', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
return $this->valueHoldere39e4->getURLWildcardService();
}
public function getURLService()
{
$this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, 'getURLService', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
return $this->valueHoldere39e4->getURLService();
}
public function getBookmarkService()
{
$this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, 'getBookmarkService', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
return $this->valueHoldere39e4->getBookmarkService();
}
public function getUserPreferenceService()
{
$this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, 'getUserPreferenceService', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
return $this->valueHoldere39e4->getUserPreferenceService();
}
public function getObjectStateService()
{
$this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, 'getObjectStateService', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
return $this->valueHoldere39e4->getObjectStateService();
}
public function getRoleService()
{
$this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, 'getRoleService', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
return $this->valueHoldere39e4->getRoleService();
}
public function getSearchService()
{
$this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, 'getSearchService', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
return $this->valueHoldere39e4->getSearchService();
}
public function getFieldTypeService()
{
$this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, 'getFieldTypeService', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
return $this->valueHoldere39e4->getFieldTypeService();
}
public function getPermissionResolver()
{
$this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, 'getPermissionResolver', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
return $this->valueHoldere39e4->getPermissionResolver();
}
public function getNameSchemaService()
{
$this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, 'getNameSchemaService', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
return $this->valueHoldere39e4->getNameSchemaService();
}
public function getNotificationService() : \eZ\Publish\API\Repository\NotificationService
{
$this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, 'getNotificationService', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
return $this->valueHoldere39e4->getNotificationService();
}
public function beginTransaction()
{
$this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, 'beginTransaction', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
return $this->valueHoldere39e4->beginTransaction();
}
public function commit()
{
$this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, 'commit', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
return $this->valueHoldere39e4->commit();
}
public function rollback()
{
$this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, 'rollback', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
return $this->valueHoldere39e4->rollback();
}
/**
* Constructor for lazy initialization
*
* @param \Closure|null $initializer
*/
public static function staticProxyConstructor($initializer)
{
static $reflection;
$reflection = $reflection ?? $reflection = new \ReflectionClass(__CLASS__);
$instance = $reflection->newInstanceWithoutConstructor();
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);
\Closure::bind(function (\eZ\Publish\Core\Repository\Repository $instance) {
unset($instance->fieldTypeRegistry, $instance->nameableFieldTypeRegistry, $instance->logger);
}, $instance, 'eZ\\Publish\\Core\\Repository\\Repository')->__invoke($instance);
$instance->initializeraa1bb = $initializer;
return $instance;
}
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)
{
static $reflection;
if (! $this->valueHoldere39e4) {
$reflection = $reflection ?: new \ReflectionClass('eZ\\Publish\\Core\\Repository\\Repository');
$this->valueHoldere39e4 = $reflection->newInstanceWithoutConstructor();
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);
\Closure::bind(function (\eZ\Publish\Core\Repository\Repository $instance) {
unset($instance->fieldTypeRegistry, $instance->nameableFieldTypeRegistry, $instance->logger);
}, $this, 'eZ\\Publish\\Core\\Repository\\Repository')->__invoke($this);
}
$this->valueHoldere39e4->__construct($persistenceHandler, $searchHandler, $backgroundIndexer, $relationProcessor, $serviceSettings, $user, $logger);
}
public function & __get($name)
{
$this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, '__get', ['name' => $name], $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
if (isset(self::$publicProperties1a37c[$name])) {
return $this->valueHoldere39e4->$name;
}
$realInstanceReflection = new \ReflectionClass(get_parent_class($this));
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHoldere39e4;
$backtrace = debug_backtrace(false);
trigger_error(
sprintf(
'Undefined property: %s::$%s in %s on line %s',
get_parent_class($this),
$name,
$backtrace[0]['file'],
$backtrace[0]['line']
),
\E_USER_NOTICE
);
return $targetObject->$name;
return;
}
$targetObject = $this->valueHoldere39e4;
$accessor = function & () use ($targetObject, $name) {
return $targetObject->$name;
};
$backtrace = debug_backtrace(true);
$scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
$accessor = $accessor->bindTo($scopeObject, get_class($scopeObject));
$returnValue = & $accessor();
return $returnValue;
}
public function __set($name, $value)
{
$this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, '__set', array('name' => $name, 'value' => $value), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
$realInstanceReflection = new \ReflectionClass(get_parent_class($this));
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHoldere39e4;
return $targetObject->$name = $value;
return;
}
$targetObject = $this->valueHoldere39e4;
$accessor = function & () use ($targetObject, $name, $value) {
return $targetObject->$name = $value;
};
$backtrace = debug_backtrace(true);
$scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
$accessor = $accessor->bindTo($scopeObject, get_class($scopeObject));
$returnValue = & $accessor();
return $returnValue;
}
public function __isset($name)
{
$this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, '__isset', array('name' => $name), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
$realInstanceReflection = new \ReflectionClass(get_parent_class($this));
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHoldere39e4;
return isset($targetObject->$name);
return;
}
$targetObject = $this->valueHoldere39e4;
$accessor = function () use ($targetObject, $name) {
return isset($targetObject->$name);
};
$backtrace = debug_backtrace(true);
$scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
$accessor = $accessor->bindTo($scopeObject, get_class($scopeObject));
$returnValue = $accessor();
return $returnValue;
}
public function __unset($name)
{
$this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, '__unset', array('name' => $name), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
$realInstanceReflection = new \ReflectionClass(get_parent_class($this));
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHoldere39e4;
unset($targetObject->$name);
return;
}
$targetObject = $this->valueHoldere39e4;
$accessor = function () use ($targetObject, $name) {
unset($targetObject->$name);
};
$backtrace = debug_backtrace(true);
$scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
$accessor = $accessor->bindTo($scopeObject, get_class($scopeObject));
$returnValue = $accessor();
return $returnValue;
}
public function __clone()
{
$this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, '__clone', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
$this->valueHoldere39e4 = clone $this->valueHoldere39e4;
}
public function __sleep()
{
$this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, '__sleep', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
return array('valueHoldere39e4');
}
public function __wakeup()
{
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);
\Closure::bind(function (\eZ\Publish\Core\Repository\Repository $instance) {
unset($instance->fieldTypeRegistry, $instance->nameableFieldTypeRegistry, $instance->logger);
}, $this, 'eZ\\Publish\\Core\\Repository\\Repository')->__invoke($this);
}
public function setProxyInitializer(\Closure $initializer = null)
{
$this->initializeraa1bb = $initializer;
}
public function getProxyInitializer()
{
return $this->initializeraa1bb;
}
public function initializeProxy() : bool
{
return $this->initializeraa1bb && ($this->initializeraa1bb->__invoke($valueHoldere39e4, $this, 'initializeProxy', array(), $this->initializeraa1bb) || 1) && $this->valueHoldere39e4 = $valueHoldere39e4;
}
public function isProxyInitialized() : bool
{
return null !== $this->valueHoldere39e4;
}
public function getWrappedValueHolderValue() : ?object
{
return $this->valueHoldere39e4;
}
}