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

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