var/cache/dev/ContainerEJNl2l0/SystemService_f79b835.php line 60

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