var/cache/dev/ContainerDrxNATm/LogistMaintenancePlaceholderService_3162f25.php line 29

Open in your IDE?
  1. <?php
  2. namespace ContainerDrxNATm;
  3. include_once \dirname(__DIR__4).'/vendor/logist/maintenance-bundle/src/LogistMaintenanceBundle/Service/LogistMaintenancePlaceholderService.php';
  4. class LogistMaintenancePlaceholderService_3162f25 extends \LogistMaintenanceBundle\Service\LogistMaintenancePlaceholderService implements \ProxyManager\Proxy\VirtualProxyInterface
  5. {
  6.     /**
  7.      * @var \LogistMaintenanceBundle\Service\LogistMaintenancePlaceholderService|null wrapped object, if the proxy is initialized
  8.      */
  9.     private $valueHolderabdec null;
  10.     /**
  11.      * @var \Closure|null initializer responsible for generating the wrapped object
  12.      */
  13.     private $initializerc6a51 null;
  14.     /**
  15.      * @var bool[] map of public properties of the parent class
  16.      */
  17.     private static $publicPropertiesa5b32 = [
  18.         
  19.     ];
  20.     public function getMode()
  21.     {
  22.         $this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec$this'getMode', array(), $this->initializerc6a51) || 1) && $this->valueHolderabdec $valueHolderabdec;
  23.         return $this->valueHolderabdec->getMode();
  24.     }
  25.     public function getModeLeft()
  26.     {
  27.         $this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec$this'getModeLeft', array(), $this->initializerc6a51) || 1) && $this->valueHolderabdec $valueHolderabdec;
  28.         return $this->valueHolderabdec->getModeLeft();
  29.     }
  30.     public function setMode(string $modeint $ttl 900)
  31.     {
  32.         $this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec$this'setMode', array('mode' => $mode'ttl' => $ttl), $this->initializerc6a51) || 1) && $this->valueHolderabdec $valueHolderabdec;
  33.         return $this->valueHolderabdec->setMode($mode$ttl);
  34.     }
  35.     public function renderPlaceholder()
  36.     {
  37.         $this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec$this'renderPlaceholder', array(), $this->initializerc6a51) || 1) && $this->valueHolderabdec $valueHolderabdec;
  38.         return $this->valueHolderabdec->renderPlaceholder();
  39.     }
  40.     public function getErrorCodesToShowInProd()
  41.     {
  42.         $this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec$this'getErrorCodesToShowInProd', array(), $this->initializerc6a51) || 1) && $this->valueHolderabdec $valueHolderabdec;
  43.         return $this->valueHolderabdec->getErrorCodesToShowInProd();
  44.     }
  45.     /**
  46.      * Constructor for lazy initialization
  47.      *
  48.      * @param \Closure|null $initializer
  49.      */
  50.     public static function staticProxyConstructor($initializer)
  51.     {
  52.         static $reflection;
  53.         $reflection $reflection ?? new \ReflectionClass(__CLASS__);
  54.         $instance   $reflection->newInstanceWithoutConstructor();
  55.         unset($instance->template$instance->twig$instance->redis$instance->showErrorCodesInProd);
  56.         $instance->initializerc6a51 $initializer;
  57.         return $instance;
  58.     }
  59.     public function __construct(\Twig\Environment $twig\LogistRedisBundle\Service\RedisClient $redis$template, array $showErrorCodesInProd)
  60.     {
  61.         static $reflection;
  62.         if (! $this->valueHolderabdec) {
  63.             $reflection $reflection ?? new \ReflectionClass('LogistMaintenanceBundle\\Service\\LogistMaintenancePlaceholderService');
  64.             $this->valueHolderabdec $reflection->newInstanceWithoutConstructor();
  65.         unset($this->template$this->twig$this->redis$this->showErrorCodesInProd);
  66.         }
  67.         $this->valueHolderabdec->__construct($twig$redis$template$showErrorCodesInProd);
  68.     }
  69.     public function & __get($name)
  70.     {
  71.         $this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec$this'__get', ['name' => $name], $this->initializerc6a51) || 1) && $this->valueHolderabdec $valueHolderabdec;
  72.         if (isset(self::$publicPropertiesa5b32[$name])) {
  73.             return $this->valueHolderabdec->$name;
  74.         }
  75.         $realInstanceReflection = new \ReflectionClass('LogistMaintenanceBundle\\Service\\LogistMaintenancePlaceholderService');
  76.         if (! $realInstanceReflection->hasProperty($name)) {
  77.             $targetObject $this->valueHolderabdec;
  78.             $backtrace debug_backtrace(false1);
  79.             trigger_error(
  80.                 sprintf(
  81.                     'Undefined property: %s::$%s in %s on line %s',
  82.                     $realInstanceReflection->getName(),
  83.                     $name,
  84.                     $backtrace[0]['file'],
  85.                     $backtrace[0]['line']
  86.                 ),
  87.                 \E_USER_NOTICE
  88.             );
  89.             return $targetObject->$name;
  90.         }
  91.         $targetObject $this->valueHolderabdec;
  92.         $accessor = function & () use ($targetObject$name) {
  93.             return $targetObject->$name;
  94.         };
  95.         $backtrace debug_backtrace(true2);
  96.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  97.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  98.         $returnValue = & $accessor();
  99.         return $returnValue;
  100.     }
  101.     public function __set($name$value)
  102.     {
  103.         $this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec$this'__set', array('name' => $name'value' => $value), $this->initializerc6a51) || 1) && $this->valueHolderabdec $valueHolderabdec;
  104.         $realInstanceReflection = new \ReflectionClass('LogistMaintenanceBundle\\Service\\LogistMaintenancePlaceholderService');
  105.         if (! $realInstanceReflection->hasProperty($name)) {
  106.             $targetObject $this->valueHolderabdec;
  107.             $targetObject->$name $value;
  108.             return $targetObject->$name;
  109.         }
  110.         $targetObject $this->valueHolderabdec;
  111.         $accessor = function & () use ($targetObject$name$value) {
  112.             $targetObject->$name $value;
  113.             return $targetObject->$name;
  114.         };
  115.         $backtrace debug_backtrace(true2);
  116.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  117.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  118.         $returnValue = & $accessor();
  119.         return $returnValue;
  120.     }
  121.     public function __isset($name)
  122.     {
  123.         $this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec$this'__isset', array('name' => $name), $this->initializerc6a51) || 1) && $this->valueHolderabdec $valueHolderabdec;
  124.         $realInstanceReflection = new \ReflectionClass('LogistMaintenanceBundle\\Service\\LogistMaintenancePlaceholderService');
  125.         if (! $realInstanceReflection->hasProperty($name)) {
  126.             $targetObject $this->valueHolderabdec;
  127.             return isset($targetObject->$name);
  128.         }
  129.         $targetObject $this->valueHolderabdec;
  130.         $accessor = function () use ($targetObject$name) {
  131.             return isset($targetObject->$name);
  132.         };
  133.         $backtrace debug_backtrace(true2);
  134.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  135.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  136.         $returnValue $accessor();
  137.         return $returnValue;
  138.     }
  139.     public function __unset($name)
  140.     {
  141.         $this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec$this'__unset', array('name' => $name), $this->initializerc6a51) || 1) && $this->valueHolderabdec $valueHolderabdec;
  142.         $realInstanceReflection = new \ReflectionClass('LogistMaintenanceBundle\\Service\\LogistMaintenancePlaceholderService');
  143.         if (! $realInstanceReflection->hasProperty($name)) {
  144.             $targetObject $this->valueHolderabdec;
  145.             unset($targetObject->$name);
  146.             return;
  147.         }
  148.         $targetObject $this->valueHolderabdec;
  149.         $accessor = function () use ($targetObject$name) {
  150.             unset($targetObject->$name);
  151.             return;
  152.         };
  153.         $backtrace debug_backtrace(true2);
  154.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  155.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  156.         $accessor();
  157.     }
  158.     public function __clone()
  159.     {
  160.         $this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec$this'__clone', array(), $this->initializerc6a51) || 1) && $this->valueHolderabdec $valueHolderabdec;
  161.         $this->valueHolderabdec = clone $this->valueHolderabdec;
  162.     }
  163.     public function __sleep()
  164.     {
  165.         $this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec$this'__sleep', array(), $this->initializerc6a51) || 1) && $this->valueHolderabdec $valueHolderabdec;
  166.         return array('valueHolderabdec');
  167.     }
  168.     public function __wakeup()
  169.     {
  170.         unset($this->template$this->twig$this->redis$this->showErrorCodesInProd);
  171.     }
  172.     public function setProxyInitializer(\Closure $initializer null) : void
  173.     {
  174.         $this->initializerc6a51 $initializer;
  175.     }
  176.     public function getProxyInitializer() : ?\Closure
  177.     {
  178.         return $this->initializerc6a51;
  179.     }
  180.     public function initializeProxy() : bool
  181.     {
  182.         return $this->initializerc6a51 && ($this->initializerc6a51->__invoke($valueHolderabdec$this'initializeProxy', array(), $this->initializerc6a51) || 1) && $this->valueHolderabdec $valueHolderabdec;
  183.     }
  184.     public function isProxyInitialized() : bool
  185.     {
  186.         return null !== $this->valueHolderabdec;
  187.     }
  188.     public function getWrappedValueHolderValue()
  189.     {
  190.         return $this->valueHolderabdec;
  191.     }
  192. }
  193. if (!\class_exists('LogistMaintenancePlaceholderService_3162f25'false)) {
  194.     \class_alias(__NAMESPACE__.'\\LogistMaintenancePlaceholderService_3162f25''LogistMaintenancePlaceholderService_3162f25'false);
  195. }