<?php
namespace ContainerXbYmIBs;
include_once \dirname(__DIR__, 4).'/src/Eccube/Repository/TaxRuleRepository.php';
class TaxRuleRepository_f7111db extends \Eccube\Repository\TaxRuleRepository implements \ProxyManager\Proxy\VirtualProxyInterface
{
/**
* @var \Eccube\Repository\TaxRuleRepository|null wrapped object, if the proxy is initialized
*/
private $valueHolder3b5e3 = null;
/**
* @var \Closure|null initializer responsible for generating the wrapped object
*/
private $initializerd4eb8 = null;
/**
* @var bool[] map of public properties of the parent class
*/
private static $publicPropertiesa6d39 = [
];
public function newTaxRule()
{
$this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3, $this, 'newTaxRule', array(), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 = $valueHolder3b5e3;
return $this->valueHolder3b5e3->newTaxRule();
}
public function getByRule($Product = null, $ProductClass = null, $Pref = null, $Country = null)
{
$this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3, $this, 'getByRule', array('Product' => $Product, 'ProductClass' => $ProductClass, 'Pref' => $Pref, 'Country' => $Country), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 = $valueHolder3b5e3;
return $this->valueHolder3b5e3->getByRule($Product, $ProductClass, $Pref, $Country);
}
public function getList()
{
$this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3, $this, 'getList', array(), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 = $valueHolder3b5e3;
return $this->valueHolder3b5e3->getList();
}
public function delete($TaxRule)
{
$this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3, $this, 'delete', array('TaxRule' => $TaxRule), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 = $valueHolder3b5e3;
return $this->valueHolder3b5e3->delete($TaxRule);
}
public function clearCache()
{
$this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3, $this, 'clearCache', array(), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 = $valueHolder3b5e3;
return $this->valueHolder3b5e3->clearCache();
}
public function save($entity)
{
$this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3, $this, 'save', array('entity' => $entity), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 = $valueHolder3b5e3;
return $this->valueHolder3b5e3->save($entity);
}
public function createQueryBuilder($alias, $indexBy = null)
{
$this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3, $this, 'createQueryBuilder', array('alias' => $alias, 'indexBy' => $indexBy), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 = $valueHolder3b5e3;
return $this->valueHolder3b5e3->createQueryBuilder($alias, $indexBy);
}
public function createResultSetMappingBuilder($alias)
{
$this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3, $this, 'createResultSetMappingBuilder', array('alias' => $alias), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 = $valueHolder3b5e3;
return $this->valueHolder3b5e3->createResultSetMappingBuilder($alias);
}
public function createNamedQuery($queryName)
{
$this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3, $this, 'createNamedQuery', array('queryName' => $queryName), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 = $valueHolder3b5e3;
return $this->valueHolder3b5e3->createNamedQuery($queryName);
}
public function createNativeNamedQuery($queryName)
{
$this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3, $this, 'createNativeNamedQuery', array('queryName' => $queryName), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 = $valueHolder3b5e3;
return $this->valueHolder3b5e3->createNativeNamedQuery($queryName);
}
public function clear()
{
$this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3, $this, 'clear', array(), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 = $valueHolder3b5e3;
return $this->valueHolder3b5e3->clear();
}
public function find($id, $lockMode = null, $lockVersion = null)
{
$this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3, $this, 'find', array('id' => $id, 'lockMode' => $lockMode, 'lockVersion' => $lockVersion), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 = $valueHolder3b5e3;
return $this->valueHolder3b5e3->find($id, $lockMode, $lockVersion);
}
public function findAll()
{
$this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3, $this, 'findAll', array(), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 = $valueHolder3b5e3;
return $this->valueHolder3b5e3->findAll();
}
public function findBy(array $criteria, ?array $orderBy = null, $limit = null, $offset = null)
{
$this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3, $this, 'findBy', array('criteria' => $criteria, 'orderBy' => $orderBy, 'limit' => $limit, 'offset' => $offset), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 = $valueHolder3b5e3;
return $this->valueHolder3b5e3->findBy($criteria, $orderBy, $limit, $offset);
}
public function findOneBy(array $criteria, ?array $orderBy = null)
{
$this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3, $this, 'findOneBy', array('criteria' => $criteria, 'orderBy' => $orderBy), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 = $valueHolder3b5e3;
return $this->valueHolder3b5e3->findOneBy($criteria, $orderBy);
}
public function count(array $criteria)
{
$this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3, $this, 'count', array('criteria' => $criteria), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 = $valueHolder3b5e3;
return $this->valueHolder3b5e3->count($criteria);
}
public function __call($method, $arguments)
{
$this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3, $this, '__call', array('method' => $method, 'arguments' => $arguments), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 = $valueHolder3b5e3;
return $this->valueHolder3b5e3->__call($method, $arguments);
}
public function getClassName()
{
$this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3, $this, 'getClassName', array(), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 = $valueHolder3b5e3;
return $this->valueHolder3b5e3->getClassName();
}
public function matching(\Doctrine\Common\Collections\Criteria $criteria)
{
$this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3, $this, 'matching', array('criteria' => $criteria), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 = $valueHolder3b5e3;
return $this->valueHolder3b5e3->matching($criteria);
}
/**
* Constructor for lazy initialization
*
* @param \Closure|null $initializer
*/
public static function staticProxyConstructor($initializer)
{
static $reflection;
$reflection = $reflection ?? new \ReflectionClass(__CLASS__);
$instance = $reflection->newInstanceWithoutConstructor();
unset($instance->baseInfo, $instance->authorizationChecker, $instance->tokenStorage, $instance->eccubeConfig, $instance->_entityName, $instance->_em, $instance->_class);
\Closure::bind(function (\Eccube\Repository\TaxRuleRepository $instance) {
unset($instance->rules);
}, $instance, 'Eccube\\Repository\\TaxRuleRepository')->__invoke($instance);
$instance->initializerd4eb8 = $initializer;
return $instance;
}
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)
{
static $reflection;
if (! $this->valueHolder3b5e3) {
$reflection = $reflection ?? new \ReflectionClass('Eccube\\Repository\\TaxRuleRepository');
$this->valueHolder3b5e3 = $reflection->newInstanceWithoutConstructor();
unset($this->baseInfo, $this->authorizationChecker, $this->tokenStorage, $this->eccubeConfig, $this->_entityName, $this->_em, $this->_class);
\Closure::bind(function (\Eccube\Repository\TaxRuleRepository $instance) {
unset($instance->rules);
}, $this, 'Eccube\\Repository\\TaxRuleRepository')->__invoke($this);
}
$this->valueHolder3b5e3->__construct($registry, $tokenStorage, $authorizationChecker, $baseInfoRepository, $eccubeConfig);
}
public function & __get($name)
{
$this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3, $this, '__get', ['name' => $name], $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 = $valueHolder3b5e3;
if (isset(self::$publicPropertiesa6d39[$name])) {
return $this->valueHolder3b5e3->$name;
}
$realInstanceReflection = new \ReflectionClass('Eccube\\Repository\\TaxRuleRepository');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder3b5e3;
$backtrace = debug_backtrace(false, 1);
trigger_error(
sprintf(
'Undefined property: %s::$%s in %s on line %s',
$realInstanceReflection->getName(),
$name,
$backtrace[0]['file'],
$backtrace[0]['line']
),
\E_USER_NOTICE
);
return $targetObject->$name;
}
$targetObject = $this->valueHolder3b5e3;
$accessor = function & () use ($targetObject, $name) {
return $targetObject->$name;
};
$backtrace = debug_backtrace(true, 2);
$scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
$accessor = $accessor->bindTo($scopeObject, get_class($scopeObject));
$returnValue = & $accessor();
return $returnValue;
}
public function __set($name, $value)
{
$this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 = $valueHolder3b5e3;
$realInstanceReflection = new \ReflectionClass('Eccube\\Repository\\TaxRuleRepository');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder3b5e3;
$targetObject->$name = $value;
return $targetObject->$name;
}
$targetObject = $this->valueHolder3b5e3;
$accessor = function & () use ($targetObject, $name, $value) {
$targetObject->$name = $value;
return $targetObject->$name;
};
$backtrace = debug_backtrace(true, 2);
$scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
$accessor = $accessor->bindTo($scopeObject, get_class($scopeObject));
$returnValue = & $accessor();
return $returnValue;
}
public function __isset($name)
{
$this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3, $this, '__isset', array('name' => $name), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 = $valueHolder3b5e3;
$realInstanceReflection = new \ReflectionClass('Eccube\\Repository\\TaxRuleRepository');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder3b5e3;
return isset($targetObject->$name);
}
$targetObject = $this->valueHolder3b5e3;
$accessor = function () use ($targetObject, $name) {
return isset($targetObject->$name);
};
$backtrace = debug_backtrace(true, 2);
$scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
$accessor = $accessor->bindTo($scopeObject, get_class($scopeObject));
$returnValue = $accessor();
return $returnValue;
}
public function __unset($name)
{
$this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3, $this, '__unset', array('name' => $name), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 = $valueHolder3b5e3;
$realInstanceReflection = new \ReflectionClass('Eccube\\Repository\\TaxRuleRepository');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder3b5e3;
unset($targetObject->$name);
return;
}
$targetObject = $this->valueHolder3b5e3;
$accessor = function () use ($targetObject, $name) {
unset($targetObject->$name);
return;
};
$backtrace = debug_backtrace(true, 2);
$scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
$accessor = $accessor->bindTo($scopeObject, get_class($scopeObject));
$accessor();
}
public function __clone()
{
$this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3, $this, '__clone', array(), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 = $valueHolder3b5e3;
$this->valueHolder3b5e3 = clone $this->valueHolder3b5e3;
}
public function __sleep()
{
$this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3, $this, '__sleep', array(), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 = $valueHolder3b5e3;
return array('valueHolder3b5e3');
}
public function __wakeup()
{
unset($this->baseInfo, $this->authorizationChecker, $this->tokenStorage, $this->eccubeConfig, $this->_entityName, $this->_em, $this->_class);
\Closure::bind(function (\Eccube\Repository\TaxRuleRepository $instance) {
unset($instance->rules);
}, $this, 'Eccube\\Repository\\TaxRuleRepository')->__invoke($this);
}
public function setProxyInitializer(\Closure $initializer = null) : void
{
$this->initializerd4eb8 = $initializer;
}
public function getProxyInitializer() : ?\Closure
{
return $this->initializerd4eb8;
}
public function initializeProxy() : bool
{
return $this->initializerd4eb8 && ($this->initializerd4eb8->__invoke($valueHolder3b5e3, $this, 'initializeProxy', array(), $this->initializerd4eb8) || 1) && $this->valueHolder3b5e3 = $valueHolder3b5e3;
}
public function isProxyInitialized() : bool
{
return null !== $this->valueHolder3b5e3;
}
public function getWrappedValueHolderValue()
{
return $this->valueHolder3b5e3;
}
}
if (!\class_exists('TaxRuleRepository_f7111db', false)) {
\class_alias(__NAMESPACE__.'\\TaxRuleRepository_f7111db', 'TaxRuleRepository_f7111db', false);
}