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

Open in your IDE?
  1. <?php
  2. namespace ContainerFMYUMiU;
  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 $valueHolder28438 null;
  10.     /**
  11.      * @var \Closure|null initializer responsible for generating the wrapped object
  12.      */
  13.     private $initializera3172 null;
  14.     /**
  15.      * @var bool[] map of public properties of the parent class
  16.      */
  17.     private static $publicProperties2c637 = [
  18.         
  19.     ];
  20.     public function getDbversion()
  21.     {
  22.         $this->initializera3172 && ($this->initializera3172->__invoke($valueHolder28438$this'getDbversion', array(), $this->initializera3172) || 1) && $this->valueHolder28438 $valueHolder28438;
  23.         return $this->valueHolder28438->getDbversion();
  24.     }
  25.     public function canSetMemoryLimit($memory)
  26.     {
  27.         $this->initializera3172 && ($this->initializera3172->__invoke($valueHolder28438$this'canSetMemoryLimit', array('memory' => $memory), $this->initializera3172) || 1) && $this->valueHolder28438 $valueHolder28438;
  28.         return $this->valueHolder28438->canSetMemoryLimit($memory);
  29.     }
  30.     public function getMemoryLimit()
  31.     {
  32.         $this->initializera3172 && ($this->initializera3172->__invoke($valueHolder28438$this'getMemoryLimit', array(), $this->initializera3172) || 1) && $this->valueHolder28438 $valueHolder28438;
  33.         return $this->valueHolder28438->getMemoryLimit();
  34.     }
  35.     public function switchMaintenance($isEnable false$mode 'auto_maintenance'bool $force false)
  36.     {
  37.         $this->initializera3172 && ($this->initializera3172->__invoke($valueHolder28438$this'switchMaintenance', array('isEnable' => $isEnable'mode' => $mode'force' => $force), $this->initializera3172) || 1) && $this->valueHolder28438 $valueHolder28438;
  38.         return $this->valueHolder28438->switchMaintenance($isEnable$mode$force);
  39.     }
  40.     public function getMaintenanceToken() : ?string
  41.     {
  42.         $this->initializera3172 && ($this->initializera3172->__invoke($valueHolder28438$this'getMaintenanceToken', array(), $this->initializera3172) || 1) && $this->valueHolder28438 $valueHolder28438;
  43.         return $this->valueHolder28438->getMaintenanceToken();
  44.     }
  45.     public function disableMaintenanceEvent(\Symfony\Component\HttpKernel\Event\TerminateEvent $event)
  46.     {
  47.         $this->initializera3172 && ($this->initializera3172->__invoke($valueHolder28438$this'disableMaintenanceEvent', array('event' => $event), $this->initializera3172) || 1) && $this->valueHolder28438 $valueHolder28438;
  48.         return $this->valueHolder28438->disableMaintenanceEvent($event);
  49.     }
  50.     public function enableMaintenance($mode 'auto_maintenance'bool $force false) : void
  51.     {
  52.         $this->initializera3172 && ($this->initializera3172->__invoke($valueHolder28438$this'enableMaintenance', array('mode' => $mode'force' => $force), $this->initializera3172) || 1) && $this->valueHolder28438 $valueHolder28438;
  53.         $this->valueHolder28438->enableMaintenance($mode$force);
  54. return;
  55.     }
  56.     public function disableMaintenance($mode 'auto_maintenance')
  57.     {
  58.         $this->initializera3172 && ($this->initializera3172->__invoke($valueHolder28438$this'disableMaintenance', array('mode' => $mode), $this->initializera3172) || 1) && $this->valueHolder28438 $valueHolder28438;
  59.         return $this->valueHolder28438->disableMaintenance($mode);
  60.     }
  61.     public function disableMaintenanceNow($mode 'auto_maintenance'bool $force false) : void
  62.     {
  63.         $this->initializera3172 && ($this->initializera3172->__invoke($valueHolder28438$this'disableMaintenanceNow', array('mode' => $mode'force' => $force), $this->initializera3172) || 1) && $this->valueHolder28438 $valueHolder28438;
  64.         $this->valueHolder28438->disableMaintenanceNow($mode$force);
  65. return;
  66.     }
  67.     public function isMaintenanceMode()
  68.     {
  69.         $this->initializera3172 && ($this->initializera3172->__invoke($valueHolder28438$this'isMaintenanceMode', array(), $this->initializera3172) || 1) && $this->valueHolder28438 $valueHolder28438;
  70.         return $this->valueHolder28438->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->initializera3172 $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->valueHolder28438) {
  93.             $reflection $reflection ?? new \ReflectionClass('Eccube\\Service\\SystemService');
  94.             $this->valueHolder28438 $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->valueHolder28438->__construct($entityManager$container);
  101.     }
  102.     public function & __get($name)
  103.     {
  104.         $this->initializera3172 && ($this->initializera3172->__invoke($valueHolder28438$this'__get', ['name' => $name], $this->initializera3172) || 1) && $this->valueHolder28438 $valueHolder28438;
  105.         if (isset(self::$publicProperties2c637[$name])) {
  106.             return $this->valueHolder28438->$name;
  107.         }
  108.         $realInstanceReflection = new \ReflectionClass('Eccube\\Service\\SystemService');
  109.         if (! $realInstanceReflection->hasProperty($name)) {
  110.             $targetObject $this->valueHolder28438;
  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->valueHolder28438;
  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->initializera3172 && ($this->initializera3172->__invoke($valueHolder28438$this'__set', array('name' => $name'value' => $value), $this->initializera3172) || 1) && $this->valueHolder28438 $valueHolder28438;
  137.         $realInstanceReflection = new \ReflectionClass('Eccube\\Service\\SystemService');
  138.         if (! $realInstanceReflection->hasProperty($name)) {
  139.             $targetObject $this->valueHolder28438;
  140.             $targetObject->$name $value;
  141.             return $targetObject->$name;
  142.         }
  143.         $targetObject $this->valueHolder28438;
  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->initializera3172 && ($this->initializera3172->__invoke($valueHolder28438$this'__isset', array('name' => $name), $this->initializera3172) || 1) && $this->valueHolder28438 $valueHolder28438;
  157.         $realInstanceReflection = new \ReflectionClass('Eccube\\Service\\SystemService');
  158.         if (! $realInstanceReflection->hasProperty($name)) {
  159.             $targetObject $this->valueHolder28438;
  160.             return isset($targetObject->$name);
  161.         }
  162.         $targetObject $this->valueHolder28438;
  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->initializera3172 && ($this->initializera3172->__invoke($valueHolder28438$this'__unset', array('name' => $name), $this->initializera3172) || 1) && $this->valueHolder28438 $valueHolder28438;
  175.         $realInstanceReflection = new \ReflectionClass('Eccube\\Service\\SystemService');
  176.         if (! $realInstanceReflection->hasProperty($name)) {
  177.             $targetObject $this->valueHolder28438;
  178.             unset($targetObject->$name);
  179.             return;
  180.         }
  181.         $targetObject $this->valueHolder28438;
  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->initializera3172 && ($this->initializera3172->__invoke($valueHolder28438$this'__clone', array(), $this->initializera3172) || 1) && $this->valueHolder28438 $valueHolder28438;
  194.         $this->valueHolder28438 = clone $this->valueHolder28438;
  195.     }
  196.     public function __sleep()
  197.     {
  198.         $this->initializera3172 && ($this->initializera3172->__invoke($valueHolder28438$this'__sleep', array(), $this->initializera3172) || 1) && $this->valueHolder28438 $valueHolder28438;
  199.         return array('valueHolder28438');
  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->initializera3172 $initializer;
  211.     }
  212.     public function getProxyInitializer() : ?\Closure
  213.     {
  214.         return $this->initializera3172;
  215.     }
  216.     public function initializeProxy() : bool
  217.     {
  218.         return $this->initializera3172 && ($this->initializera3172->__invoke($valueHolder28438$this'initializeProxy', array(), $this->initializera3172) || 1) && $this->valueHolder28438 $valueHolder28438;
  219.     }
  220.     public function isProxyInitialized() : bool
  221.     {
  222.         return null !== $this->valueHolder28438;
  223.     }
  224.     public function getWrappedValueHolderValue()
  225.     {
  226.         return $this->valueHolder28438;
  227.     }
  228. }
  229. if (!\class_exists('SystemService_f79b835'false)) {
  230.     \class_alias(__NAMESPACE__.'\\SystemService_f79b835''SystemService_f79b835'false);
  231. }