var/cache/dev/ContainerJZSM0Tr/SystemService_f79b835.php line 59

Open in your IDE?
  1. <?php
  2. include_once \dirname(__DIR__4).'/src/Eccube/Service/SystemService.php';
  3. class SystemService_f79b835 extends \Eccube\Service\SystemService implements \ProxyManager\Proxy\VirtualProxyInterface
  4. {
  5.     /**
  6.      * @var \Eccube\Service\SystemService|null wrapped object, if the proxy is initialized
  7.      */
  8.     private $valueHoldera035a null;
  9.     /**
  10.      * @var \Closure|null initializer responsible for generating the wrapped object
  11.      */
  12.     private $initializerf7c09 null;
  13.     /**
  14.      * @var bool[] map of public properties of the parent class
  15.      */
  16.     private static $publicPropertiesb1ec1 = [
  17.         
  18.     ];
  19.     public function getDbversion()
  20.     {
  21.         $this->initializerf7c09 && ($this->initializerf7c09->__invoke($valueHoldera035a$this'getDbversion', array(), $this->initializerf7c09) || 1) && $this->valueHoldera035a $valueHoldera035a;
  22.         return $this->valueHoldera035a->getDbversion();
  23.     }
  24.     public function canSetMemoryLimit($memory)
  25.     {
  26.         $this->initializerf7c09 && ($this->initializerf7c09->__invoke($valueHoldera035a$this'canSetMemoryLimit', array('memory' => $memory), $this->initializerf7c09) || 1) && $this->valueHoldera035a $valueHoldera035a;
  27.         return $this->valueHoldera035a->canSetMemoryLimit($memory);
  28.     }
  29.     public function getMemoryLimit()
  30.     {
  31.         $this->initializerf7c09 && ($this->initializerf7c09->__invoke($valueHoldera035a$this'getMemoryLimit', array(), $this->initializerf7c09) || 1) && $this->valueHoldera035a $valueHoldera035a;
  32.         return $this->valueHoldera035a->getMemoryLimit();
  33.     }
  34.     public function switchMaintenance($isEnable false$mode 'auto_maintenance'bool $force false)
  35.     {
  36.         $this->initializerf7c09 && ($this->initializerf7c09->__invoke($valueHoldera035a$this'switchMaintenance', array('isEnable' => $isEnable'mode' => $mode'force' => $force), $this->initializerf7c09) || 1) && $this->valueHoldera035a $valueHoldera035a;
  37.         return $this->valueHoldera035a->switchMaintenance($isEnable$mode$force);
  38.     }
  39.     public function getMaintenanceToken() : ?string
  40.     {
  41.         $this->initializerf7c09 && ($this->initializerf7c09->__invoke($valueHoldera035a$this'getMaintenanceToken', array(), $this->initializerf7c09) || 1) && $this->valueHoldera035a $valueHoldera035a;
  42.         return $this->valueHoldera035a->getMaintenanceToken();
  43.     }
  44.     public function disableMaintenanceEvent(\Symfony\Component\HttpKernel\Event\PostResponseEvent $event)
  45.     {
  46.         $this->initializerf7c09 && ($this->initializerf7c09->__invoke($valueHoldera035a$this'disableMaintenanceEvent', array('event' => $event), $this->initializerf7c09) || 1) && $this->valueHoldera035a $valueHoldera035a;
  47.         return $this->valueHoldera035a->disableMaintenanceEvent($event);
  48.     }
  49.     public function enableMaintenance($mode 'auto_maintenance'bool $force false) : void
  50.     {
  51.         $this->initializerf7c09 && ($this->initializerf7c09->__invoke($valueHoldera035a$this'enableMaintenance', array('mode' => $mode'force' => $force), $this->initializerf7c09) || 1) && $this->valueHoldera035a $valueHoldera035a;
  52.         $this->valueHoldera035a->enableMaintenance($mode$force);
  53. return;
  54.     }
  55.     public function disableMaintenance($mode 'auto_maintenance')
  56.     {
  57.         $this->initializerf7c09 && ($this->initializerf7c09->__invoke($valueHoldera035a$this'disableMaintenance', array('mode' => $mode), $this->initializerf7c09) || 1) && $this->valueHoldera035a $valueHoldera035a;
  58.         return $this->valueHoldera035a->disableMaintenance($mode);
  59.     }
  60.     public function disableMaintenanceNow($mode 'auto_maintenance'bool $force false) : void
  61.     {
  62.         $this->initializerf7c09 && ($this->initializerf7c09->__invoke($valueHoldera035a$this'disableMaintenanceNow', array('mode' => $mode'force' => $force), $this->initializerf7c09) || 1) && $this->valueHoldera035a $valueHoldera035a;
  63.         $this->valueHoldera035a->disableMaintenanceNow($mode$force);
  64. return;
  65.     }
  66.     public function isMaintenanceMode()
  67.     {
  68.         $this->initializerf7c09 && ($this->initializerf7c09->__invoke($valueHoldera035a$this'isMaintenanceMode', array(), $this->initializerf7c09) || 1) && $this->valueHoldera035a $valueHoldera035a;
  69.         return $this->valueHoldera035a->isMaintenanceMode();
  70.     }
  71.     /**
  72.      * Constructor for lazy initialization
  73.      *
  74.      * @param \Closure|null $initializer
  75.      */
  76.     public static function staticProxyConstructor($initializer)
  77.     {
  78.         static $reflection;
  79.         $reflection $reflection ?? new \ReflectionClass(__CLASS__);
  80.         $instance   $reflection->newInstanceWithoutConstructor();
  81.         unset($instance->entityManager$instance->container);
  82.         \Closure::bind(function (\Eccube\Service\SystemService $instance) {
  83.             unset($instance->disableMaintenanceAfterResponse$instance->maintenanceMode);
  84.         }, $instance'Eccube\\Service\\SystemService')->__invoke($instance);
  85.         $instance->initializerf7c09 $initializer;
  86.         return $instance;
  87.     }
  88.     public function __construct(\Doctrine\ORM\EntityManagerInterface $entityManager, \Symfony\Component\DependencyInjection\ContainerInterface $container)
  89.     {
  90.         static $reflection;
  91.         if (! $this->valueHoldera035a) {
  92.             $reflection $reflection ?? new \ReflectionClass('Eccube\\Service\\SystemService');
  93.             $this->valueHoldera035a $reflection->newInstanceWithoutConstructor();
  94.         unset($this->entityManager$this->container);
  95.         \Closure::bind(function (\Eccube\Service\SystemService $instance) {
  96.             unset($instance->disableMaintenanceAfterResponse$instance->maintenanceMode);
  97.         }, $this'Eccube\\Service\\SystemService')->__invoke($this);
  98.         }
  99.         $this->valueHoldera035a->__construct($entityManager$container);
  100.     }
  101.     public function & __get($name)
  102.     {
  103.         $this->initializerf7c09 && ($this->initializerf7c09->__invoke($valueHoldera035a$this'__get', ['name' => $name], $this->initializerf7c09) || 1) && $this->valueHoldera035a $valueHoldera035a;
  104.         if (isset(self::$publicPropertiesb1ec1[$name])) {
  105.             return $this->valueHoldera035a->$name;
  106.         }
  107.         $realInstanceReflection = new \ReflectionClass('Eccube\\Service\\SystemService');
  108.         if (! $realInstanceReflection->hasProperty($name)) {
  109.             $targetObject $this->valueHoldera035a;
  110.             $backtrace debug_backtrace(false1);
  111.             trigger_error(
  112.                 sprintf(
  113.                     'Undefined property: %s::$%s in %s on line %s',
  114.                     $realInstanceReflection->getName(),
  115.                     $name,
  116.                     $backtrace[0]['file'],
  117.                     $backtrace[0]['line']
  118.                 ),
  119.                 \E_USER_NOTICE
  120.             );
  121.             return $targetObject->$name;
  122.         }
  123.         $targetObject $this->valueHoldera035a;
  124.         $accessor = function & () use ($targetObject$name) {
  125.             return $targetObject->$name;
  126.         };
  127.         $backtrace debug_backtrace(true2);
  128.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  129.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  130.         $returnValue = & $accessor();
  131.         return $returnValue;
  132.     }
  133.     public function __set($name$value)
  134.     {
  135.         $this->initializerf7c09 && ($this->initializerf7c09->__invoke($valueHoldera035a$this'__set', array('name' => $name'value' => $value), $this->initializerf7c09) || 1) && $this->valueHoldera035a $valueHoldera035a;
  136.         $realInstanceReflection = new \ReflectionClass('Eccube\\Service\\SystemService');
  137.         if (! $realInstanceReflection->hasProperty($name)) {
  138.             $targetObject $this->valueHoldera035a;
  139.             $targetObject->$name $value;
  140.             return $targetObject->$name;
  141.         }
  142.         $targetObject $this->valueHoldera035a;
  143.         $accessor = function & () use ($targetObject$name$value) {
  144.             $targetObject->$name $value;
  145.             return $targetObject->$name;
  146.         };
  147.         $backtrace debug_backtrace(true2);
  148.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  149.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  150.         $returnValue = & $accessor();
  151.         return $returnValue;
  152.     }
  153.     public function __isset($name)
  154.     {
  155.         $this->initializerf7c09 && ($this->initializerf7c09->__invoke($valueHoldera035a$this'__isset', array('name' => $name), $this->initializerf7c09) || 1) && $this->valueHoldera035a $valueHoldera035a;
  156.         $realInstanceReflection = new \ReflectionClass('Eccube\\Service\\SystemService');
  157.         if (! $realInstanceReflection->hasProperty($name)) {
  158.             $targetObject $this->valueHoldera035a;
  159.             return isset($targetObject->$name);
  160.         }
  161.         $targetObject $this->valueHoldera035a;
  162.         $accessor = function () use ($targetObject$name) {
  163.             return isset($targetObject->$name);
  164.         };
  165.         $backtrace debug_backtrace(true2);
  166.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  167.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  168.         $returnValue $accessor();
  169.         return $returnValue;
  170.     }
  171.     public function __unset($name)
  172.     {
  173.         $this->initializerf7c09 && ($this->initializerf7c09->__invoke($valueHoldera035a$this'__unset', array('name' => $name), $this->initializerf7c09) || 1) && $this->valueHoldera035a $valueHoldera035a;
  174.         $realInstanceReflection = new \ReflectionClass('Eccube\\Service\\SystemService');
  175.         if (! $realInstanceReflection->hasProperty($name)) {
  176.             $targetObject $this->valueHoldera035a;
  177.             unset($targetObject->$name);
  178.             return;
  179.         }
  180.         $targetObject $this->valueHoldera035a;
  181.         $accessor = function () use ($targetObject$name) {
  182.             unset($targetObject->$name);
  183.             return;
  184.         };
  185.         $backtrace debug_backtrace(true2);
  186.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  187.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  188.         $accessor();
  189.     }
  190.     public function __clone()
  191.     {
  192.         $this->initializerf7c09 && ($this->initializerf7c09->__invoke($valueHoldera035a$this'__clone', array(), $this->initializerf7c09) || 1) && $this->valueHoldera035a $valueHoldera035a;
  193.         $this->valueHoldera035a = clone $this->valueHoldera035a;
  194.     }
  195.     public function __sleep()
  196.     {
  197.         $this->initializerf7c09 && ($this->initializerf7c09->__invoke($valueHoldera035a$this'__sleep', array(), $this->initializerf7c09) || 1) && $this->valueHoldera035a $valueHoldera035a;
  198.         return array('valueHoldera035a');
  199.     }
  200.     public function __wakeup()
  201.     {
  202.         unset($this->entityManager$this->container);
  203.         \Closure::bind(function (\Eccube\Service\SystemService $instance) {
  204.             unset($instance->disableMaintenanceAfterResponse$instance->maintenanceMode);
  205.         }, $this'Eccube\\Service\\SystemService')->__invoke($this);
  206.     }
  207.     public function setProxyInitializer(\Closure $initializer null) : void
  208.     {
  209.         $this->initializerf7c09 $initializer;
  210.     }
  211.     public function getProxyInitializer() : ?\Closure
  212.     {
  213.         return $this->initializerf7c09;
  214.     }
  215.     public function initializeProxy() : bool
  216.     {
  217.         return $this->initializerf7c09 && ($this->initializerf7c09->__invoke($valueHoldera035a$this'initializeProxy', array(), $this->initializerf7c09) || 1) && $this->valueHoldera035a $valueHoldera035a;
  218.     }
  219.     public function isProxyInitialized() : bool
  220.     {
  221.         return null !== $this->valueHoldera035a;
  222.     }
  223.     public function getWrappedValueHolderValue()
  224.     {
  225.         return $this->valueHoldera035a;
  226.     }
  227. }