var/cache/dev/ContainerXbYmIBs/TaxRuleService_289f969.php line 32

Open in your IDE?
  1. <?php
  2. namespace ContainerXbYmIBs;
  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 $valueHolder3b5e3 null;
  10.     /**
  11.      * @var \Closure|null initializer responsible for generating the wrapped object
  12.      */
  13.     private $initializerd4eb8 null;
  14.     /**
  15.      * @var bool[] map of public properties of the parent class
  16.      */
  17.     private static $publicPropertiesa6d39 = [
  18.         
  19.     ];
  20.     public function getTax($price$product null$productClass null$pref null$country null)
  21.     {
  22.         $this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3$this'getTax', array('price' => $price'product' => $product'productClass' => $productClass'pref' => $pref'country' => $country), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 $valueHolder3b5e3;
  23.         return $this->valueHolder3b5e3->getTax($price$product$productClass$pref$country);
  24.     }
  25.     public function getPriceIncTax($price$product null$productClass null$pref null$country null)
  26.     {
  27.         $this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3$this'getPriceIncTax', array('price' => $price'product' => $product'productClass' => $productClass'pref' => $pref'country' => $country), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 $valueHolder3b5e3;
  28.         return $this->valueHolder3b5e3->getPriceIncTax($price$product$productClass$pref$country);
  29.     }
  30.     public function calcTax($price$taxRate$RoundingType$taxAdjust 0)
  31.     {
  32.         $this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3$this'calcTax', array('price' => $price'taxRate' => $taxRate'RoundingType' => $RoundingType'taxAdjust' => $taxAdjust), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 $valueHolder3b5e3;
  33.         return $this->valueHolder3b5e3->calcTax($price$taxRate$RoundingType$taxAdjust);
  34.     }
  35.     public function calcTaxIncluded($price$taxRate$RoundingType$taxAdjust 0)
  36.     {
  37.         $this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3$this'calcTaxIncluded', array('price' => $price'taxRate' => $taxRate'RoundingType' => $RoundingType'taxAdjust' => $taxAdjust), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 $valueHolder3b5e3;
  38.         return $this->valueHolder3b5e3->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->initializerd4eb8 $initializer;
  52.         return $instance;
  53.     }
  54.     public function __construct(\Eccube\Repository\TaxRuleRepository $taxRuleRepository\Eccube\Repository\BaseInfoRepository $baseInfoRepository)
  55.     {
  56.         static $reflection;
  57.         if (! $this->valueHolder3b5e3) {
  58.             $reflection $reflection ?? new \ReflectionClass('Eccube\\Service\\TaxRuleService');
  59.             $this->valueHolder3b5e3 $reflection->newInstanceWithoutConstructor();
  60.         unset($this->BaseInfo$this->taxRuleRepository);
  61.         }
  62.         $this->valueHolder3b5e3->__construct($taxRuleRepository$baseInfoRepository);
  63.     }
  64.     public function & __get($name)
  65.     {
  66.         $this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3$this'__get', ['name' => $name], $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 $valueHolder3b5e3;
  67.         if (isset(self::$publicPropertiesa6d39[$name])) {
  68.             return $this->valueHolder3b5e3->$name;
  69.         }
  70.         $realInstanceReflection = new \ReflectionClass('Eccube\\Service\\TaxRuleService');
  71.         if (! $realInstanceReflection->hasProperty($name)) {
  72.             $targetObject $this->valueHolder3b5e3;
  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->valueHolder3b5e3;
  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->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3$this'__set', array('name' => $name'value' => $value), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 $valueHolder3b5e3;
  99.         $realInstanceReflection = new \ReflectionClass('Eccube\\Service\\TaxRuleService');
  100.         if (! $realInstanceReflection->hasProperty($name)) {
  101.             $targetObject $this->valueHolder3b5e3;
  102.             $targetObject->$name $value;
  103.             return $targetObject->$name;
  104.         }
  105.         $targetObject $this->valueHolder3b5e3;
  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->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3$this'__isset', array('name' => $name), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 $valueHolder3b5e3;
  119.         $realInstanceReflection = new \ReflectionClass('Eccube\\Service\\TaxRuleService');
  120.         if (! $realInstanceReflection->hasProperty($name)) {
  121.             $targetObject $this->valueHolder3b5e3;
  122.             return isset($targetObject->$name);
  123.         }
  124.         $targetObject $this->valueHolder3b5e3;
  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->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3$this'__unset', array('name' => $name), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 $valueHolder3b5e3;
  137.         $realInstanceReflection = new \ReflectionClass('Eccube\\Service\\TaxRuleService');
  138.         if (! $realInstanceReflection->hasProperty($name)) {
  139.             $targetObject $this->valueHolder3b5e3;
  140.             unset($targetObject->$name);
  141.             return;
  142.         }
  143.         $targetObject $this->valueHolder3b5e3;
  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->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3$this'__clone', array(), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 $valueHolder3b5e3;
  156.         $this->valueHolder3b5e3 = clone $this->valueHolder3b5e3;
  157.     }
  158.     public function __sleep()
  159.     {
  160.         $this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3$this'__sleep', array(), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 $valueHolder3b5e3;
  161.         return array('valueHolder3b5e3');
  162.     }
  163.     public function __wakeup()
  164.     {
  165.         unset($this->BaseInfo$this->taxRuleRepository);
  166.     }
  167.     public function setProxyInitializer(\Closure $initializer null) : void
  168.     {
  169.         $this->initializerd4eb8 $initializer;
  170.     }
  171.     public function getProxyInitializer() : ?\Closure
  172.     {
  173.         return $this->initializerd4eb8;
  174.     }
  175.     public function initializeProxy() : bool
  176.     {
  177.         return $this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3$this'initializeProxy', array(), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 $valueHolder3b5e3;
  178.     }
  179.     public function isProxyInitialized() : bool
  180.     {
  181.         return null !== $this->valueHolder3b5e3;
  182.     }
  183.     public function getWrappedValueHolderValue()
  184.     {
  185.         return $this->valueHolder3b5e3;
  186.     }
  187. }
  188. if (!\class_exists('TaxRuleService_289f969'false)) {
  189.     \class_alias(__NAMESPACE__.'\\TaxRuleService_289f969''TaxRuleService_289f969'false);
  190. }