<?php
namespace ContainerC1MH1xT;
include_once \dirname(__DIR__, 4).'/vendor/symfony/http-kernel/CacheClearer/CacheClearerInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/se7enxweb/legacy-bridge/bundle/Cache/Switchable.php';
include_once \dirname(__DIR__, 4).'/vendor/se7enxweb/legacy-bridge/bundle/Cache/PersistenceCachePurger.php';
class PersistenceCachePurger_efd6bd3 extends \eZ\Bundle\EzPublishLegacyBundle\Cache\PersistenceCachePurger implements \ProxyManager\Proxy\VirtualProxyInterface
{
/**
* @var \eZ\Bundle\EzPublishLegacyBundle\Cache\PersistenceCachePurger|null wrapped object, if the proxy is initialized
*/
private $valueHolder83025 = null;
/**
* @var \Closure|null initializer responsible for generating the wrapped object
*/
private $initializer8f361 = null;
/**
* @var bool[] map of public properties of the parent class
*/
private static $publicPropertiesf1b7b = [
];
public function all()
{
$this->initializer8f361 && ($this->initializer8f361->__invoke($valueHolder83025, $this, 'all', array(), $this->initializer8f361) || 1) && $this->valueHolder83025 = $valueHolder83025;
return $this->valueHolder83025->all();
}
public function isAllCleared()
{
$this->initializer8f361 && ($this->initializer8f361->__invoke($valueHolder83025, $this, 'isAllCleared', array(), $this->initializer8f361) || 1) && $this->valueHolder83025 = $valueHolder83025;
return $this->valueHolder83025->isAllCleared();
}
public function resetAllCleared()
{
$this->initializer8f361 && ($this->initializer8f361->__invoke($valueHolder83025, $this, 'resetAllCleared', array(), $this->initializer8f361) || 1) && $this->valueHolder83025 = $valueHolder83025;
return $this->valueHolder83025->resetAllCleared();
}
public function content($locationIds = null, ?array $contentIds = null)
{
$this->initializer8f361 && ($this->initializer8f361->__invoke($valueHolder83025, $this, 'content', array('locationIds' => $locationIds, 'contentIds' => $contentIds), $this->initializer8f361) || 1) && $this->valueHolder83025 = $valueHolder83025;
return $this->valueHolder83025->content($locationIds, $contentIds);
}
public function contentVersion($contentId, $versionNo)
{
$this->initializer8f361 && ($this->initializer8f361->__invoke($valueHolder83025, $this, 'contentVersion', array('contentId' => $contentId, 'versionNo' => $versionNo), $this->initializer8f361) || 1) && $this->valueHolder83025 = $valueHolder83025;
return $this->valueHolder83025->contentVersion($contentId, $versionNo);
}
public function contentType($id = null)
{
$this->initializer8f361 && ($this->initializer8f361->__invoke($valueHolder83025, $this, 'contentType', array('id' => $id), $this->initializer8f361) || 1) && $this->valueHolder83025 = $valueHolder83025;
return $this->valueHolder83025->contentType($id);
}
public function contentTypeGroup($id)
{
$this->initializer8f361 && ($this->initializer8f361->__invoke($valueHolder83025, $this, 'contentTypeGroup', array('id' => $id), $this->initializer8f361) || 1) && $this->valueHolder83025 = $valueHolder83025;
return $this->valueHolder83025->contentTypeGroup($id);
}
public function section($id)
{
$this->initializer8f361 && ($this->initializer8f361->__invoke($valueHolder83025, $this, 'section', array('id' => $id), $this->initializer8f361) || 1) && $this->valueHolder83025 = $valueHolder83025;
return $this->valueHolder83025->section($id);
}
public function languages($ids)
{
$this->initializer8f361 && ($this->initializer8f361->__invoke($valueHolder83025, $this, 'languages', array('ids' => $ids), $this->initializer8f361) || 1) && $this->valueHolder83025 = $valueHolder83025;
return $this->valueHolder83025->languages($ids);
}
public function stateAssign($contentId)
{
$this->initializer8f361 && ($this->initializer8f361->__invoke($valueHolder83025, $this, 'stateAssign', array('contentId' => $contentId), $this->initializer8f361) || 1) && $this->valueHolder83025 = $valueHolder83025;
return $this->valueHolder83025->stateAssign($contentId);
}
public function user($id = null)
{
$this->initializer8f361 && ($this->initializer8f361->__invoke($valueHolder83025, $this, 'user', array('id' => $id), $this->initializer8f361) || 1) && $this->valueHolder83025 = $valueHolder83025;
return $this->valueHolder83025->user($id);
}
public function clear($cacheDir)
{
$this->initializer8f361 && ($this->initializer8f361->__invoke($valueHolder83025, $this, 'clear', array('cacheDir' => $cacheDir), $this->initializer8f361) || 1) && $this->valueHolder83025 = $valueHolder83025;
return $this->valueHolder83025->clear($cacheDir);
}
public function switchOn()
{
$this->initializer8f361 && ($this->initializer8f361->__invoke($valueHolder83025, $this, 'switchOn', array(), $this->initializer8f361) || 1) && $this->valueHolder83025 = $valueHolder83025;
return $this->valueHolder83025->switchOn();
}
public function switchOff()
{
$this->initializer8f361 && ($this->initializer8f361->__invoke($valueHolder83025, $this, 'switchOff', array(), $this->initializer8f361) || 1) && $this->valueHolder83025 = $valueHolder83025;
return $this->valueHolder83025->switchOff();
}
public function isSwitchedOn()
{
$this->initializer8f361 && ($this->initializer8f361->__invoke($valueHolder83025, $this, 'isSwitchedOn', array(), $this->initializer8f361) || 1) && $this->valueHolder83025 = $valueHolder83025;
return $this->valueHolder83025->isSwitchedOn();
}
public function isSwitchedOff()
{
$this->initializer8f361 && ($this->initializer8f361->__invoke($valueHolder83025, $this, 'isSwitchedOff', array(), $this->initializer8f361) || 1) && $this->valueHolder83025 = $valueHolder83025;
return $this->valueHolder83025->isSwitchedOff();
}
/**
* Constructor for lazy initialization
*
* @param \Closure|null $initializer
*/
public static function staticProxyConstructor($initializer)
{
static $reflection;
$reflection = $reflection ?? new \ReflectionClass(__CLASS__);
$instance = $reflection->newInstanceWithoutConstructor();
unset($instance->cache, $instance->locationHandler, $instance->cacheIdentifierGenerator, $instance->allCleared);
\Closure::bind(function (\eZ\Bundle\EzPublishLegacyBundle\Cache\PersistenceCachePurger $instance) {
unset($instance->clearAllSPICacheOnSymfonyClearCache, $instance->clearAllSPICacheFromLegacy, $instance->isSwitchedOn);
}, $instance, 'eZ\\Bundle\\EzPublishLegacyBundle\\Cache\\PersistenceCachePurger')->__invoke($instance);
$instance->initializer8f361 = $initializer;
return $instance;
}
public function __construct(\Symfony\Component\Cache\Adapter\TagAwareAdapterInterface $cache, \eZ\Publish\SPI\Persistence\Content\Location\Handler $locationHandler, \Ibexa\Core\Persistence\Cache\Identifier\CacheIdentifierGeneratorInterface $cacheIdentifierGenerator, bool $clearAllSPICacheOnSymfonyClearCache = true, bool $clearAllSPICacheFromLegacy = true)
{
static $reflection;
if (! $this->valueHolder83025) {
$reflection = $reflection ?? new \ReflectionClass('eZ\\Bundle\\EzPublishLegacyBundle\\Cache\\PersistenceCachePurger');
$this->valueHolder83025 = $reflection->newInstanceWithoutConstructor();
unset($this->cache, $this->locationHandler, $this->cacheIdentifierGenerator, $this->allCleared);
\Closure::bind(function (\eZ\Bundle\EzPublishLegacyBundle\Cache\PersistenceCachePurger $instance) {
unset($instance->clearAllSPICacheOnSymfonyClearCache, $instance->clearAllSPICacheFromLegacy, $instance->isSwitchedOn);
}, $this, 'eZ\\Bundle\\EzPublishLegacyBundle\\Cache\\PersistenceCachePurger')->__invoke($this);
}
$this->valueHolder83025->__construct($cache, $locationHandler, $cacheIdentifierGenerator, $clearAllSPICacheOnSymfonyClearCache, $clearAllSPICacheFromLegacy);
}
public function & __get($name)
{
$this->initializer8f361 && ($this->initializer8f361->__invoke($valueHolder83025, $this, '__get', ['name' => $name], $this->initializer8f361) || 1) && $this->valueHolder83025 = $valueHolder83025;
if (isset(self::$publicPropertiesf1b7b[$name])) {
return $this->valueHolder83025->$name;
}
$realInstanceReflection = new \ReflectionClass('eZ\\Bundle\\EzPublishLegacyBundle\\Cache\\PersistenceCachePurger');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder83025;
$backtrace = debug_backtrace(false, 1);
trigger_error(
sprintf(
'Undefined property: %s::$%s in %s on line %s',
$realInstanceReflection->getName(),
$name,
$backtrace[0]['file'],
$backtrace[0]['line']
),
\E_USER_NOTICE
);
return $targetObject->$name;
}
$targetObject = $this->valueHolder83025;
$accessor = function & () use ($targetObject, $name) {
return $targetObject->$name;
};
$backtrace = debug_backtrace(true, 2);
$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->initializer8f361 && ($this->initializer8f361->__invoke($valueHolder83025, $this, '__set', array('name' => $name, 'value' => $value), $this->initializer8f361) || 1) && $this->valueHolder83025 = $valueHolder83025;
$realInstanceReflection = new \ReflectionClass('eZ\\Bundle\\EzPublishLegacyBundle\\Cache\\PersistenceCachePurger');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder83025;
$targetObject->$name = $value;
return $targetObject->$name;
}
$targetObject = $this->valueHolder83025;
$accessor = function & () use ($targetObject, $name, $value) {
$targetObject->$name = $value;
return $targetObject->$name;
};
$backtrace = debug_backtrace(true, 2);
$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->initializer8f361 && ($this->initializer8f361->__invoke($valueHolder83025, $this, '__isset', array('name' => $name), $this->initializer8f361) || 1) && $this->valueHolder83025 = $valueHolder83025;
$realInstanceReflection = new \ReflectionClass('eZ\\Bundle\\EzPublishLegacyBundle\\Cache\\PersistenceCachePurger');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder83025;
return isset($targetObject->$name);
}
$targetObject = $this->valueHolder83025;
$accessor = function () use ($targetObject, $name) {
return isset($targetObject->$name);
};
$backtrace = debug_backtrace(true, 2);
$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->initializer8f361 && ($this->initializer8f361->__invoke($valueHolder83025, $this, '__unset', array('name' => $name), $this->initializer8f361) || 1) && $this->valueHolder83025 = $valueHolder83025;
$realInstanceReflection = new \ReflectionClass('eZ\\Bundle\\EzPublishLegacyBundle\\Cache\\PersistenceCachePurger');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder83025;
unset($targetObject->$name);
return;
}
$targetObject = $this->valueHolder83025;
$accessor = function () use ($targetObject, $name) {
unset($targetObject->$name);
return;
};
$backtrace = debug_backtrace(true, 2);
$scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
$accessor = $accessor->bindTo($scopeObject, get_class($scopeObject));
$accessor();
}
public function __clone()
{
$this->initializer8f361 && ($this->initializer8f361->__invoke($valueHolder83025, $this, '__clone', array(), $this->initializer8f361) || 1) && $this->valueHolder83025 = $valueHolder83025;
$this->valueHolder83025 = clone $this->valueHolder83025;
}
public function __sleep()
{
$this->initializer8f361 && ($this->initializer8f361->__invoke($valueHolder83025, $this, '__sleep', array(), $this->initializer8f361) || 1) && $this->valueHolder83025 = $valueHolder83025;
return array('valueHolder83025');
}
public function __wakeup()
{
unset($this->cache, $this->locationHandler, $this->cacheIdentifierGenerator, $this->allCleared);
\Closure::bind(function (\eZ\Bundle\EzPublishLegacyBundle\Cache\PersistenceCachePurger $instance) {
unset($instance->clearAllSPICacheOnSymfonyClearCache, $instance->clearAllSPICacheFromLegacy, $instance->isSwitchedOn);
}, $this, 'eZ\\Bundle\\EzPublishLegacyBundle\\Cache\\PersistenceCachePurger')->__invoke($this);
}
public function setProxyInitializer(?\Closure $initializer = null): void
{
$this->initializer8f361 = $initializer;
}
public function getProxyInitializer(): ?\Closure
{
return $this->initializer8f361;
}
public function initializeProxy(): bool
{
return $this->initializer8f361 && ($this->initializer8f361->__invoke($valueHolder83025, $this, 'initializeProxy', array(), $this->initializer8f361) || 1) && $this->valueHolder83025 = $valueHolder83025;
}
public function isProxyInitialized(): bool
{
return null !== $this->valueHolder83025;
}
public function getWrappedValueHolderValue()
{
return $this->valueHolder83025;
}
}
if (!\class_exists('PersistenceCachePurger_efd6bd3', false)) {
\class_alias(__NAMESPACE__.'\\PersistenceCachePurger_efd6bd3', 'PersistenceCachePurger_efd6bd3', false);
}