var/cache/dev/ContainerAYsPF0i/TaxRuleService_289f969.php line 36

Open in your IDE?
  1. <?php
  2. namespace ContainerAYsPF0i;
  3. include_once \dirname(__DIR__4).'/src/Eccube/Service/TaxRuleService.php';
  4. class TaxRuleService_289f969 extends \Eccube\Service\TaxRuleService implements \ProxyManager\Proxy\VirtualProxyInterface
  5. {
  6.     /**
  7.      * @var \Eccube\Service\TaxRuleService|null wrapped object, if the proxy is initialized
  8.      */
  9.     private $valueHolder88a97 null;
  10.     /**
  11.      * @var \Closure|null initializer responsible for generating the wrapped object
  12.      */
  13.     private $initializerab4cd null;
  14.     /**
  15.      * @var bool[] map of public properties of the parent class
  16.      */
  17.     private static $publicProperties214f0 = [
  18.         
  19.     ];
  20.     public function getTax($price$product null$productClass null$pref null$country null)
  21.     {
  22.         $this->initializerab4cd && ($this->initializerab4cd->__invoke($valueHolder88a97$this'getTax', array('price' => $price'product' => $product'productClass' => $productClass'pref' => $pref'country' => $country), $this->initializerab4cd) || 1) && $this->valueHolder88a97 $valueHolder88a97;
  23.         return $this->valueHolder88a97->getTax($price$product$productClass$pref$country);
  24.     }
  25.     public function getPriceIncTax($price$product null$productClass null$pref null$country null)
  26.     {
  27.         $this->initializerab4cd && ($this->initializerab4cd->__invoke($valueHolder88a97$this'getPriceIncTax', array('price' => $price'product' => $product'productClass' => $productClass'pref' => $pref'country' => $country), $this->initializerab4cd) || 1) && $this->valueHolder88a97 $valueHolder88a97;
  28.         return $this->valueHolder88a97->getPriceIncTax($price$product$productClass$pref$country);
  29.     }
  30.     public function calcTax($price$taxRate$RoundingType$taxAdjust 0)
  31.     {
  32.         $this->initializerab4cd && ($this->initializerab4cd->__invoke($valueHolder88a97$this'calcTax', array('price' => $price'taxRate' => $taxRate'RoundingType' => $RoundingType'taxAdjust' => $taxAdjust), $this->initializerab4cd) || 1) && $this->valueHolder88a97 $valueHolder88a97;
  33.         return $this->valueHolder88a97->calcTax($price$taxRate$RoundingType$taxAdjust);
  34.     }
  35.     public function calcTaxIncluded($price$taxRate$RoundingType$taxAdjust 0)
  36.     {
  37.         $this->initializerab4cd && ($this->initializerab4cd->__invoke($valueHolder88a97$this'calcTaxIncluded', array('price' => $price'taxRate' => $taxRate'RoundingType' => $RoundingType'taxAdjust' => $taxAdjust), $this->initializerab4cd) || 1) && $this->valueHolder88a97 $valueHolder88a97;
  38.         return $this->valueHolder88a97->calcTaxIncluded($price$taxRate$RoundingType$taxAdjust);
  39.     }
  40.     /**
  41.      * Constructor for lazy initialization
  42.      *
  43.      * @param \Closure|null $initializer
  44.      */
  45.     public static function staticProxyConstructor($initializer)
  46.     {
  47.         static $reflection;
  48.         $reflection $reflection ?? new \ReflectionClass(__CLASS__);
  49.         $instance   $reflection->newInstanceWithoutConstructor();
  50.         unset($instance->BaseInfo$instance->taxRuleRepository);
  51.         $instance->initializerab4cd $initializer;
  52.         return $instance;
  53.     }
  54.     public function __construct(\Eccube\Repository\TaxRuleRepository $taxRuleRepository\Eccube\Repository\BaseInfoRepository $baseInfoRepository)
  55.     {
  56.         static $reflection;
  57.         if (! $this->valueHolder88a97) {
  58.             $reflection $reflection ?? new \ReflectionClass('Eccube\\Service\\TaxRuleService');
  59.             $this->valueHolder88a97 $reflection->newInstanceWithoutConstructor();
  60.         unset($this->BaseInfo$this->taxRuleRepository);
  61.         }
  62.         $this->valueHolder88a97->__construct($taxRuleRepository$baseInfoRepository);
  63.     }
  64.     public function & __get($name)
  65.     {
  66.         $this->initializerab4cd && ($this->initializerab4cd->__invoke($valueHolder88a97$this'__get', ['name' => $name], $this->initializerab4cd) || 1) && $this->valueHolder88a97 $valueHolder88a97;
  67.         if (isset(self::$publicProperties214f0[$name])) {
  68.             return $this->valueHolder88a97->$name;
  69.         }
  70.         $realInstanceReflection = new \ReflectionClass('Eccube\\Service\\TaxRuleService');
  71.         if (! $realInstanceReflection->hasProperty($name)) {
  72.             $targetObject $this->valueHolder88a97;
  73.             $backtrace debug_backtrace(false1);
  74.             trigger_error(
  75.                 sprintf(
  76.                     'Undefined property: %s::$%s in %s on line %s',
  77.                     $realInstanceReflection->getName(),
  78.                     $name,
  79.                     $backtrace[0]['file'],
  80.                     $backtrace[0]['line']
  81.                 ),
  82.                 \E_USER_NOTICE
  83.             );
  84.             return $targetObject->$name;
  85.         }
  86.         $targetObject $this->valueHolder88a97;
  87.         $accessor = function & () use ($targetObject$name) {
  88.             return $targetObject->$name;
  89.         };
  90.         $backtrace debug_backtrace(true2);
  91.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  92.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  93.         $returnValue = & $accessor();
  94.         return $returnValue;
  95.     }
  96.     public function __set($name$value)
  97.     {
  98.         $this->initializerab4cd && ($this->initializerab4cd->__invoke($valueHolder88a97$this'__set', array('name' => $name'value' => $value), $this->initializerab4cd) || 1) && $this->valueHolder88a97 $valueHolder88a97;
  99.         $realInstanceReflection = new \ReflectionClass('Eccube\\Service\\TaxRuleService');
  100.         if (! $realInstanceReflection->hasProperty($name)) {
  101.             $targetObject $this->valueHolder88a97;
  102.             $targetObject->$name $value;
  103.             return $targetObject->$name;
  104.         }
  105.         $targetObject $this->valueHolder88a97;
  106.         $accessor = function & () use ($targetObject$name$value) {
  107.             $targetObject->$name $value;
  108.             return $targetObject->$name;
  109.         };
  110.         $backtrace debug_backtrace(true2);
  111.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  112.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  113.         $returnValue = & $accessor();
  114.         return $returnValue;
  115.     }
  116.     public function __isset($name)
  117.     {
  118.         $this->initializerab4cd && ($this->initializerab4cd->__invoke($valueHolder88a97$this'__isset', array('name' => $name), $this->initializerab4cd) || 1) && $this->valueHolder88a97 $valueHolder88a97;
  119.         $realInstanceReflection = new \ReflectionClass('Eccube\\Service\\TaxRuleService');
  120.         if (! $realInstanceReflection->hasProperty($name)) {
  121.             $targetObject $this->valueHolder88a97;
  122.             return isset($targetObject->$name);
  123.         }
  124.         $targetObject $this->valueHolder88a97;
  125.         $accessor = function () use ($targetObject$name) {
  126.             return isset($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 __unset($name)
  135.     {
  136.         $this->initializerab4cd && ($this->initializerab4cd->__invoke($valueHolder88a97$this'__unset', array('name' => $name), $this->initializerab4cd) || 1) && $this->valueHolder88a97 $valueHolder88a97;
  137.         $realInstanceReflection = new \ReflectionClass('Eccube\\Service\\TaxRuleService');
  138.         if (! $realInstanceReflection->hasProperty($name)) {
  139.             $targetObject $this->valueHolder88a97;
  140.             unset($targetObject->$name);
  141.             return;
  142.         }
  143.         $targetObject $this->valueHolder88a97;
  144.         $accessor = function () use ($targetObject$name) {
  145.             unset($targetObject->$name);
  146.             return;
  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.         $accessor();
  152.     }
  153.     public function __clone()
  154.     {
  155.         $this->initializerab4cd && ($this->initializerab4cd->__invoke($valueHolder88a97$this'__clone', array(), $this->initializerab4cd) || 1) && $this->valueHolder88a97 $valueHolder88a97;
  156.         $this->valueHolder88a97 = clone $this->valueHolder88a97;
  157.     }
  158.     public function __sleep()
  159.     {
  160.         $this->initializerab4cd && ($this->initializerab4cd->__invoke($valueHolder88a97$this'__sleep', array(), $this->initializerab4cd) || 1) && $this->valueHolder88a97 $valueHolder88a97;
  161.         return array('valueHolder88a97');
  162.     }
  163.     public function __wakeup()
  164.     {
  165.         unset($this->BaseInfo$this->taxRuleRepository);
  166.     }
  167.     public function setProxyInitializer(\Closure $initializer null) : void
  168.     {
  169.         $this->initializerab4cd $initializer;
  170.     }
  171.     public function getProxyInitializer() : ?\Closure
  172.     {
  173.         return $this->initializerab4cd;
  174.     }
  175.     public function initializeProxy() : bool
  176.     {
  177.         return $this->initializerab4cd && ($this->initializerab4cd->__invoke($valueHolder88a97$this'initializeProxy', array(), $this->initializerab4cd) || 1) && $this->valueHolder88a97 $valueHolder88a97;
  178.     }
  179.     public function isProxyInitialized() : bool
  180.     {
  181.         return null !== $this->valueHolder88a97;
  182.     }
  183.     public function getWrappedValueHolderValue()
  184.     {
  185.         return $this->valueHolder88a97;
  186.     }
  187. }
  188. if (!\class_exists('TaxRuleService_289f969'false)) {
  189.     \class_alias(__NAMESPACE__.'\\TaxRuleService_289f969''TaxRuleService_289f969'false);
  190. }