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

Open in your IDE?
  1. <?php
  2. namespace ContainerXbYmIBs;
  3. include_once \dirname(__DIR__4).'/src/Eccube/Repository/TaxRuleRepository.php';
  4. class TaxRuleRepository_f7111db extends \Eccube\Repository\TaxRuleRepository implements \ProxyManager\Proxy\VirtualProxyInterface
  5. {
  6.     /**
  7.      * @var \Eccube\Repository\TaxRuleRepository|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 newTaxRule()
  21.     {
  22.         $this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3$this'newTaxRule', array(), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 $valueHolder3b5e3;
  23.         return $this->valueHolder3b5e3->newTaxRule();
  24.     }
  25.     public function getByRule($Product null$ProductClass null$Pref null$Country null)
  26.     {
  27.         $this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3$this'getByRule', array('Product' => $Product'ProductClass' => $ProductClass'Pref' => $Pref'Country' => $Country), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 $valueHolder3b5e3;
  28.         return $this->valueHolder3b5e3->getByRule($Product$ProductClass$Pref$Country);
  29.     }
  30.     public function getList()
  31.     {
  32.         $this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3$this'getList', array(), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 $valueHolder3b5e3;
  33.         return $this->valueHolder3b5e3->getList();
  34.     }
  35.     public function delete($TaxRule)
  36.     {
  37.         $this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3$this'delete', array('TaxRule' => $TaxRule), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 $valueHolder3b5e3;
  38.         return $this->valueHolder3b5e3->delete($TaxRule);
  39.     }
  40.     public function clearCache()
  41.     {
  42.         $this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3$this'clearCache', array(), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 $valueHolder3b5e3;
  43.         return $this->valueHolder3b5e3->clearCache();
  44.     }
  45.     public function save($entity)
  46.     {
  47.         $this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3$this'save', array('entity' => $entity), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 $valueHolder3b5e3;
  48.         return $this->valueHolder3b5e3->save($entity);
  49.     }
  50.     public function createQueryBuilder($alias$indexBy null)
  51.     {
  52.         $this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3$this'createQueryBuilder', array('alias' => $alias'indexBy' => $indexBy), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 $valueHolder3b5e3;
  53.         return $this->valueHolder3b5e3->createQueryBuilder($alias$indexBy);
  54.     }
  55.     public function createResultSetMappingBuilder($alias)
  56.     {
  57.         $this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3$this'createResultSetMappingBuilder', array('alias' => $alias), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 $valueHolder3b5e3;
  58.         return $this->valueHolder3b5e3->createResultSetMappingBuilder($alias);
  59.     }
  60.     public function createNamedQuery($queryName)
  61.     {
  62.         $this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3$this'createNamedQuery', array('queryName' => $queryName), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 $valueHolder3b5e3;
  63.         return $this->valueHolder3b5e3->createNamedQuery($queryName);
  64.     }
  65.     public function createNativeNamedQuery($queryName)
  66.     {
  67.         $this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3$this'createNativeNamedQuery', array('queryName' => $queryName), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 $valueHolder3b5e3;
  68.         return $this->valueHolder3b5e3->createNativeNamedQuery($queryName);
  69.     }
  70.     public function clear()
  71.     {
  72.         $this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3$this'clear', array(), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 $valueHolder3b5e3;
  73.         return $this->valueHolder3b5e3->clear();
  74.     }
  75.     public function find($id$lockMode null$lockVersion null)
  76.     {
  77.         $this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3$this'find', array('id' => $id'lockMode' => $lockMode'lockVersion' => $lockVersion), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 $valueHolder3b5e3;
  78.         return $this->valueHolder3b5e3->find($id$lockMode$lockVersion);
  79.     }
  80.     public function findAll()
  81.     {
  82.         $this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3$this'findAll', array(), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 $valueHolder3b5e3;
  83.         return $this->valueHolder3b5e3->findAll();
  84.     }
  85.     public function findBy(array $criteria, ?array $orderBy null$limit null$offset null)
  86.     {
  87.         $this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3$this'findBy', array('criteria' => $criteria'orderBy' => $orderBy'limit' => $limit'offset' => $offset), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 $valueHolder3b5e3;
  88.         return $this->valueHolder3b5e3->findBy($criteria$orderBy$limit$offset);
  89.     }
  90.     public function findOneBy(array $criteria, ?array $orderBy null)
  91.     {
  92.         $this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3$this'findOneBy', array('criteria' => $criteria'orderBy' => $orderBy), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 $valueHolder3b5e3;
  93.         return $this->valueHolder3b5e3->findOneBy($criteria$orderBy);
  94.     }
  95.     public function count(array $criteria)
  96.     {
  97.         $this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3$this'count', array('criteria' => $criteria), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 $valueHolder3b5e3;
  98.         return $this->valueHolder3b5e3->count($criteria);
  99.     }
  100.     public function __call($method$arguments)
  101.     {
  102.         $this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3$this'__call', array('method' => $method'arguments' => $arguments), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 $valueHolder3b5e3;
  103.         return $this->valueHolder3b5e3->__call($method$arguments);
  104.     }
  105.     public function getClassName()
  106.     {
  107.         $this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3$this'getClassName', array(), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 $valueHolder3b5e3;
  108.         return $this->valueHolder3b5e3->getClassName();
  109.     }
  110.     public function matching(\Doctrine\Common\Collections\Criteria $criteria)
  111.     {
  112.         $this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3$this'matching', array('criteria' => $criteria), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 $valueHolder3b5e3;
  113.         return $this->valueHolder3b5e3->matching($criteria);
  114.     }
  115.     /**
  116.      * Constructor for lazy initialization
  117.      *
  118.      * @param \Closure|null $initializer
  119.      */
  120.     public static function staticProxyConstructor($initializer)
  121.     {
  122.         static $reflection;
  123.         $reflection $reflection ?? new \ReflectionClass(__CLASS__);
  124.         $instance   $reflection->newInstanceWithoutConstructor();
  125.         unset($instance->baseInfo$instance->authorizationChecker$instance->tokenStorage$instance->eccubeConfig$instance->_entityName$instance->_em$instance->_class);
  126.         \Closure::bind(function (\Eccube\Repository\TaxRuleRepository $instance) {
  127.             unset($instance->rules);
  128.         }, $instance'Eccube\\Repository\\TaxRuleRepository')->__invoke($instance);
  129.         $instance->initializerd4eb8 $initializer;
  130.         return $instance;
  131.     }
  132.     public function __construct(\Doctrine\Persistence\ManagerRegistry $registry\Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage\Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface $authorizationChecker\Eccube\Repository\BaseInfoRepository $baseInfoRepository\Eccube\Common\EccubeConfig $eccubeConfig)
  133.     {
  134.         static $reflection;
  135.         if (! $this->valueHolder3b5e3) {
  136.             $reflection $reflection ?? new \ReflectionClass('Eccube\\Repository\\TaxRuleRepository');
  137.             $this->valueHolder3b5e3 $reflection->newInstanceWithoutConstructor();
  138.         unset($this->baseInfo$this->authorizationChecker$this->tokenStorage$this->eccubeConfig$this->_entityName$this->_em$this->_class);
  139.         \Closure::bind(function (\Eccube\Repository\TaxRuleRepository $instance) {
  140.             unset($instance->rules);
  141.         }, $this'Eccube\\Repository\\TaxRuleRepository')->__invoke($this);
  142.         }
  143.         $this->valueHolder3b5e3->__construct($registry$tokenStorage$authorizationChecker$baseInfoRepository$eccubeConfig);
  144.     }
  145.     public function & __get($name)
  146.     {
  147.         $this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3$this'__get', ['name' => $name], $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 $valueHolder3b5e3;
  148.         if (isset(self::$publicPropertiesa6d39[$name])) {
  149.             return $this->valueHolder3b5e3->$name;
  150.         }
  151.         $realInstanceReflection = new \ReflectionClass('Eccube\\Repository\\TaxRuleRepository');
  152.         if (! $realInstanceReflection->hasProperty($name)) {
  153.             $targetObject $this->valueHolder3b5e3;
  154.             $backtrace debug_backtrace(false1);
  155.             trigger_error(
  156.                 sprintf(
  157.                     'Undefined property: %s::$%s in %s on line %s',
  158.                     $realInstanceReflection->getName(),
  159.                     $name,
  160.                     $backtrace[0]['file'],
  161.                     $backtrace[0]['line']
  162.                 ),
  163.                 \E_USER_NOTICE
  164.             );
  165.             return $targetObject->$name;
  166.         }
  167.         $targetObject $this->valueHolder3b5e3;
  168.         $accessor = function & () use ($targetObject$name) {
  169.             return $targetObject->$name;
  170.         };
  171.         $backtrace debug_backtrace(true2);
  172.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  173.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  174.         $returnValue = & $accessor();
  175.         return $returnValue;
  176.     }
  177.     public function __set($name$value)
  178.     {
  179.         $this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3$this'__set', array('name' => $name'value' => $value), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 $valueHolder3b5e3;
  180.         $realInstanceReflection = new \ReflectionClass('Eccube\\Repository\\TaxRuleRepository');
  181.         if (! $realInstanceReflection->hasProperty($name)) {
  182.             $targetObject $this->valueHolder3b5e3;
  183.             $targetObject->$name $value;
  184.             return $targetObject->$name;
  185.         }
  186.         $targetObject $this->valueHolder3b5e3;
  187.         $accessor = function & () use ($targetObject$name$value) {
  188.             $targetObject->$name $value;
  189.             return $targetObject->$name;
  190.         };
  191.         $backtrace debug_backtrace(true2);
  192.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  193.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  194.         $returnValue = & $accessor();
  195.         return $returnValue;
  196.     }
  197.     public function __isset($name)
  198.     {
  199.         $this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3$this'__isset', array('name' => $name), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 $valueHolder3b5e3;
  200.         $realInstanceReflection = new \ReflectionClass('Eccube\\Repository\\TaxRuleRepository');
  201.         if (! $realInstanceReflection->hasProperty($name)) {
  202.             $targetObject $this->valueHolder3b5e3;
  203.             return isset($targetObject->$name);
  204.         }
  205.         $targetObject $this->valueHolder3b5e3;
  206.         $accessor = function () use ($targetObject$name) {
  207.             return isset($targetObject->$name);
  208.         };
  209.         $backtrace debug_backtrace(true2);
  210.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  211.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  212.         $returnValue $accessor();
  213.         return $returnValue;
  214.     }
  215.     public function __unset($name)
  216.     {
  217.         $this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3$this'__unset', array('name' => $name), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 $valueHolder3b5e3;
  218.         $realInstanceReflection = new \ReflectionClass('Eccube\\Repository\\TaxRuleRepository');
  219.         if (! $realInstanceReflection->hasProperty($name)) {
  220.             $targetObject $this->valueHolder3b5e3;
  221.             unset($targetObject->$name);
  222.             return;
  223.         }
  224.         $targetObject $this->valueHolder3b5e3;
  225.         $accessor = function () use ($targetObject$name) {
  226.             unset($targetObject->$name);
  227.             return;
  228.         };
  229.         $backtrace debug_backtrace(true2);
  230.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  231.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  232.         $accessor();
  233.     }
  234.     public function __clone()
  235.     {
  236.         $this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3$this'__clone', array(), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 $valueHolder3b5e3;
  237.         $this->valueHolder3b5e3 = clone $this->valueHolder3b5e3;
  238.     }
  239.     public function __sleep()
  240.     {
  241.         $this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3$this'__sleep', array(), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 $valueHolder3b5e3;
  242.         return array('valueHolder3b5e3');
  243.     }
  244.     public function __wakeup()
  245.     {
  246.         unset($this->baseInfo$this->authorizationChecker$this->tokenStorage$this->eccubeConfig$this->_entityName$this->_em$this->_class);
  247.         \Closure::bind(function (\Eccube\Repository\TaxRuleRepository $instance) {
  248.             unset($instance->rules);
  249.         }, $this'Eccube\\Repository\\TaxRuleRepository')->__invoke($this);
  250.     }
  251.     public function setProxyInitializer(\Closure $initializer null) : void
  252.     {
  253.         $this->initializerd4eb8 $initializer;
  254.     }
  255.     public function getProxyInitializer() : ?\Closure
  256.     {
  257.         return $this->initializerd4eb8;
  258.     }
  259.     public function initializeProxy() : bool
  260.     {
  261.         return $this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3$this'initializeProxy', array(), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 $valueHolder3b5e3;
  262.     }
  263.     public function isProxyInitialized() : bool
  264.     {
  265.         return null !== $this->valueHolder3b5e3;
  266.     }
  267.     public function getWrappedValueHolderValue()
  268.     {
  269.         return $this->valueHolder3b5e3;
  270.     }
  271. }
  272. if (!\class_exists('TaxRuleRepository_f7111db'false)) {
  273.     \class_alias(__NAMESPACE__.'\\TaxRuleRepository_f7111db''TaxRuleRepository_f7111db'false);
  274. }