var/cache/dev/ContainerOzjhx36/SystemService_f79b835.php line 66

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