<?php
namespace ContainerDrxNATm;
include_once \dirname(__DIR__, 4).'/vendor/logist/maintenance-bundle/src/LogistMaintenanceBundle/Service/LogistMaintenancePlaceholderService.php';
class LogistMaintenancePlaceholderService_3162f25 extends \LogistMaintenanceBundle\Service\LogistMaintenancePlaceholderService implements \ProxyManager\Proxy\VirtualProxyInterface
{
/**
* @var \LogistMaintenanceBundle\Service\LogistMaintenancePlaceholderService|null wrapped object, if the proxy is initialized
*/
private $valueHolderabdec = null;
/**
* @var \Closure|null initializer responsible for generating the wrapped object
*/
private $initializerc6a51 = null;
/**
* @var bool[] map of public properties of the parent class
*/
private static $publicPropertiesa5b32 = [
];
public function getMode()
{
$this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec, $this, 'getMode', array(), $this->initializerc6a51) || 1) && $this->valueHolderabdec = $valueHolderabdec;
return $this->valueHolderabdec->getMode();
}
public function getModeLeft()
{
$this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec, $this, 'getModeLeft', array(), $this->initializerc6a51) || 1) && $this->valueHolderabdec = $valueHolderabdec;
return $this->valueHolderabdec->getModeLeft();
}
public function setMode(string $mode, int $ttl = 900)
{
$this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec, $this, 'setMode', array('mode' => $mode, 'ttl' => $ttl), $this->initializerc6a51) || 1) && $this->valueHolderabdec = $valueHolderabdec;
return $this->valueHolderabdec->setMode($mode, $ttl);
}
public function renderPlaceholder()
{
$this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec, $this, 'renderPlaceholder', array(), $this->initializerc6a51) || 1) && $this->valueHolderabdec = $valueHolderabdec;
return $this->valueHolderabdec->renderPlaceholder();
}
public function getErrorCodesToShowInProd()
{
$this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec, $this, 'getErrorCodesToShowInProd', array(), $this->initializerc6a51) || 1) && $this->valueHolderabdec = $valueHolderabdec;
return $this->valueHolderabdec->getErrorCodesToShowInProd();
}
/**
* 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->template, $instance->twig, $instance->redis, $instance->showErrorCodesInProd);
$instance->initializerc6a51 = $initializer;
return $instance;
}
public function __construct(\Twig\Environment $twig, \LogistRedisBundle\Service\RedisClient $redis, $template, array $showErrorCodesInProd)
{
static $reflection;
if (! $this->valueHolderabdec) {
$reflection = $reflection ?? new \ReflectionClass('LogistMaintenanceBundle\\Service\\LogistMaintenancePlaceholderService');
$this->valueHolderabdec = $reflection->newInstanceWithoutConstructor();
unset($this->template, $this->twig, $this->redis, $this->showErrorCodesInProd);
}
$this->valueHolderabdec->__construct($twig, $redis, $template, $showErrorCodesInProd);
}
public function & __get($name)
{
$this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec, $this, '__get', ['name' => $name], $this->initializerc6a51) || 1) && $this->valueHolderabdec = $valueHolderabdec;
if (isset(self::$publicPropertiesa5b32[$name])) {
return $this->valueHolderabdec->$name;
}
$realInstanceReflection = new \ReflectionClass('LogistMaintenanceBundle\\Service\\LogistMaintenancePlaceholderService');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolderabdec;
$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->valueHolderabdec;
$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->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerc6a51) || 1) && $this->valueHolderabdec = $valueHolderabdec;
$realInstanceReflection = new \ReflectionClass('LogistMaintenanceBundle\\Service\\LogistMaintenancePlaceholderService');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolderabdec;
$targetObject->$name = $value;
return $targetObject->$name;
}
$targetObject = $this->valueHolderabdec;
$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->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec, $this, '__isset', array('name' => $name), $this->initializerc6a51) || 1) && $this->valueHolderabdec = $valueHolderabdec;
$realInstanceReflection = new \ReflectionClass('LogistMaintenanceBundle\\Service\\LogistMaintenancePlaceholderService');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolderabdec;
return isset($targetObject->$name);
}
$targetObject = $this->valueHolderabdec;
$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->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec, $this, '__unset', array('name' => $name), $this->initializerc6a51) || 1) && $this->valueHolderabdec = $valueHolderabdec;
$realInstanceReflection = new \ReflectionClass('LogistMaintenanceBundle\\Service\\LogistMaintenancePlaceholderService');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolderabdec;
unset($targetObject->$name);
return;
}
$targetObject = $this->valueHolderabdec;
$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->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec, $this, '__clone', array(), $this->initializerc6a51) || 1) && $this->valueHolderabdec = $valueHolderabdec;
$this->valueHolderabdec = clone $this->valueHolderabdec;
}
public function __sleep()
{
$this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec, $this, '__sleep', array(), $this->initializerc6a51) || 1) && $this->valueHolderabdec = $valueHolderabdec;
return array('valueHolderabdec');
}
public function __wakeup()
{
unset($this->template, $this->twig, $this->redis, $this->showErrorCodesInProd);
}
public function setProxyInitializer(\Closure $initializer = null) : void
{
$this->initializerc6a51 = $initializer;
}
public function getProxyInitializer() : ?\Closure
{
return $this->initializerc6a51;
}
public function initializeProxy() : bool
{
return $this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec, $this, 'initializeProxy', array(), $this->initializerc6a51) || 1) && $this->valueHolderabdec = $valueHolderabdec;
}
public function isProxyInitialized() : bool
{
return null !== $this->valueHolderabdec;
}
public function getWrappedValueHolderValue()
{
return $this->valueHolderabdec;
}
}
if (!\class_exists('LogistMaintenancePlaceholderService_3162f25', false)) {
\class_alias(__NAMESPACE__.'\\LogistMaintenancePlaceholderService_3162f25', 'LogistMaintenancePlaceholderService_3162f25', false);
}