<?php
namespace ContainerMmiFdsx;
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 $valueHolder1ca42 = null;
/**
* @var \Closure|null initializer responsible for generating the wrapped object
*/
private $initializer8c698 = null;
/**
* @var bool[] map of public properties of the parent class
*/
private static $publicProperties40eb9 = [
];
public function newTaxRule()
{
$this->initializer8c698 && ($this->initializer8c698->__invoke($valueHolder1ca42, $this, 'newTaxRule', array(), $this->initializer8c698) || 1) && $this->valueHolder1ca42 = $valueHolder1ca42;
return $this->valueHolder1ca42->newTaxRule();
}
public function getByRule($Product = null, $ProductClass = null, $Pref = null, $Country = null)
{
$this->initializer8c698 && ($this->initializer8c698->__invoke($valueHolder1ca42, $this, 'getByRule', array('Product' => $Product, 'ProductClass' => $ProductClass, 'Pref' => $Pref, 'Country' => $Country), $this->initializer8c698) || 1) && $this->valueHolder1ca42 = $valueHolder1ca42;
return $this->valueHolder1ca42->getByRule($Product, $ProductClass, $Pref, $Country);
}
public function getList()
{
$this->initializer8c698 && ($this->initializer8c698->__invoke($valueHolder1ca42, $this, 'getList', array(), $this->initializer8c698) || 1) && $this->valueHolder1ca42 = $valueHolder1ca42;
return $this->valueHolder1ca42->getList();
}
public function delete($TaxRule)
{
$this->initializer8c698 && ($this->initializer8c698->__invoke($valueHolder1ca42, $this, 'delete', array('TaxRule' => $TaxRule), $this->initializer8c698) || 1) && $this->valueHolder1ca42 = $valueHolder1ca42;
return $this->valueHolder1ca42->delete($TaxRule);
}
public function clearCache()
{
$this->initializer8c698 && ($this->initializer8c698->__invoke($valueHolder1ca42, $this, 'clearCache', array(), $this->initializer8c698) || 1) && $this->valueHolder1ca42 = $valueHolder1ca42;
return $this->valueHolder1ca42->clearCache();
}
public function save($entity)
{
$this->initializer8c698 && ($this->initializer8c698->__invoke($valueHolder1ca42, $this, 'save', array('entity' => $entity), $this->initializer8c698) || 1) && $this->valueHolder1ca42 = $valueHolder1ca42;
return $this->valueHolder1ca42->save($entity);
}
public function createQueryBuilder($alias, $indexBy = null)
{
$this->initializer8c698 && ($this->initializer8c698->__invoke($valueHolder1ca42, $this, 'createQueryBuilder', array('alias' => $alias, 'indexBy' => $indexBy), $this->initializer8c698) || 1) && $this->valueHolder1ca42 = $valueHolder1ca42;
return $this->valueHolder1ca42->createQueryBuilder($alias, $indexBy);
}
public function createResultSetMappingBuilder($alias)
{
$this->initializer8c698 && ($this->initializer8c698->__invoke($valueHolder1ca42, $this, 'createResultSetMappingBuilder', array('alias' => $alias), $this->initializer8c698) || 1) && $this->valueHolder1ca42 = $valueHolder1ca42;
return $this->valueHolder1ca42->createResultSetMappingBuilder($alias);
}
public function createNamedQuery($queryName)
{
$this->initializer8c698 && ($this->initializer8c698->__invoke($valueHolder1ca42, $this, 'createNamedQuery', array('queryName' => $queryName), $this->initializer8c698) || 1) && $this->valueHolder1ca42 = $valueHolder1ca42;
return $this->valueHolder1ca42->createNamedQuery($queryName);
}
public function createNativeNamedQuery($queryName)
{
$this->initializer8c698 && ($this->initializer8c698->__invoke($valueHolder1ca42, $this, 'createNativeNamedQuery', array('queryName' => $queryName), $this->initializer8c698) || 1) && $this->valueHolder1ca42 = $valueHolder1ca42;
return $this->valueHolder1ca42->createNativeNamedQuery($queryName);
}
public function clear()
{
$this->initializer8c698 && ($this->initializer8c698->__invoke($valueHolder1ca42, $this, 'clear', array(), $this->initializer8c698) || 1) && $this->valueHolder1ca42 = $valueHolder1ca42;
return $this->valueHolder1ca42->clear();
}
public function find($id, $lockMode = null, $lockVersion = null)
{
$this->initializer8c698 && ($this->initializer8c698->__invoke($valueHolder1ca42, $this, 'find', array('id' => $id, 'lockMode' => $lockMode, 'lockVersion' => $lockVersion), $this->initializer8c698) || 1) && $this->valueHolder1ca42 = $valueHolder1ca42;
return $this->valueHolder1ca42->find($id, $lockMode, $lockVersion);
}
public function findAll()
{
$this->initializer8c698 && ($this->initializer8c698->__invoke($valueHolder1ca42, $this, 'findAll', array(), $this->initializer8c698) || 1) && $this->valueHolder1ca42 = $valueHolder1ca42;
return $this->valueHolder1ca42->findAll();
}
public function findBy(array $criteria, ?array $orderBy = null, $limit = null, $offset = null)
{
$this->initializer8c698 && ($this->initializer8c698->__invoke($valueHolder1ca42, $this, 'findBy', array('criteria' => $criteria, 'orderBy' => $orderBy, 'limit' => $limit, 'offset' => $offset), $this->initializer8c698) || 1) && $this->valueHolder1ca42 = $valueHolder1ca42;
return $this->valueHolder1ca42->findBy($criteria, $orderBy, $limit, $offset);
}
public function findOneBy(array $criteria, ?array $orderBy = null)
{
$this->initializer8c698 && ($this->initializer8c698->__invoke($valueHolder1ca42, $this, 'findOneBy', array('criteria' => $criteria, 'orderBy' => $orderBy), $this->initializer8c698) || 1) && $this->valueHolder1ca42 = $valueHolder1ca42;
return $this->valueHolder1ca42->findOneBy($criteria, $orderBy);
}
public function count(array $criteria)
{
$this->initializer8c698 && ($this->initializer8c698->__invoke($valueHolder1ca42, $this, 'count', array('criteria' => $criteria), $this->initializer8c698) || 1) && $this->valueHolder1ca42 = $valueHolder1ca42;
return $this->valueHolder1ca42->count($criteria);
}
public function __call($method, $arguments)
{
$this->initializer8c698 && ($this->initializer8c698->__invoke($valueHolder1ca42, $this, '__call', array('method' => $method, 'arguments' => $arguments), $this->initializer8c698) || 1) && $this->valueHolder1ca42 = $valueHolder1ca42;
return $this->valueHolder1ca42->__call($method, $arguments);
}
public function getClassName()
{
$this->initializer8c698 && ($this->initializer8c698->__invoke($valueHolder1ca42, $this, 'getClassName', array(), $this->initializer8c698) || 1) && $this->valueHolder1ca42 = $valueHolder1ca42;
return $this->valueHolder1ca42->getClassName();
}
public function matching(\Doctrine\Common\Collections\Criteria $criteria)
{
$this->initializer8c698 && ($this->initializer8c698->__invoke($valueHolder1ca42, $this, 'matching', array('criteria' => $criteria), $this->initializer8c698) || 1) && $this->valueHolder1ca42 = $valueHolder1ca42;
return $this->valueHolder1ca42->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->initializer8c698 = $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->valueHolder1ca42) {
$reflection = $reflection ?? new \ReflectionClass('Eccube\\Repository\\TaxRuleRepository');
$this->valueHolder1ca42 = $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->valueHolder1ca42->__construct($registry, $tokenStorage, $authorizationChecker, $baseInfoRepository, $eccubeConfig);
}
public function & __get($name)
{
$this->initializer8c698 && ($this->initializer8c698->__invoke($valueHolder1ca42, $this, '__get', ['name' => $name], $this->initializer8c698) || 1) && $this->valueHolder1ca42 = $valueHolder1ca42;
if (isset(self::$publicProperties40eb9[$name])) {
return $this->valueHolder1ca42->$name;
}
$realInstanceReflection = new \ReflectionClass('Eccube\\Repository\\TaxRuleRepository');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder1ca42;
$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->valueHolder1ca42;
$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->initializer8c698 && ($this->initializer8c698->__invoke($valueHolder1ca42, $this, '__set', array('name' => $name, 'value' => $value), $this->initializer8c698) || 1) && $this->valueHolder1ca42 = $valueHolder1ca42;
$realInstanceReflection = new \ReflectionClass('Eccube\\Repository\\TaxRuleRepository');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder1ca42;
$targetObject->$name = $value;
return $targetObject->$name;
}
$targetObject = $this->valueHolder1ca42;
$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->initializer8c698 && ($this->initializer8c698->__invoke($valueHolder1ca42, $this, '__isset', array('name' => $name), $this->initializer8c698) || 1) && $this->valueHolder1ca42 = $valueHolder1ca42;
$realInstanceReflection = new \ReflectionClass('Eccube\\Repository\\TaxRuleRepository');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder1ca42;
return isset($targetObject->$name);
}
$targetObject = $this->valueHolder1ca42;
$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->initializer8c698 && ($this->initializer8c698->__invoke($valueHolder1ca42, $this, '__unset', array('name' => $name), $this->initializer8c698) || 1) && $this->valueHolder1ca42 = $valueHolder1ca42;
$realInstanceReflection = new \ReflectionClass('Eccube\\Repository\\TaxRuleRepository');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder1ca42;
unset($targetObject->$name);
return;
}
$targetObject = $this->valueHolder1ca42;
$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->initializer8c698 && ($this->initializer8c698->__invoke($valueHolder1ca42, $this, '__clone', array(), $this->initializer8c698) || 1) && $this->valueHolder1ca42 = $valueHolder1ca42;
$this->valueHolder1ca42 = clone $this->valueHolder1ca42;
}
public function __sleep()
{
$this->initializer8c698 && ($this->initializer8c698->__invoke($valueHolder1ca42, $this, '__sleep', array(), $this->initializer8c698) || 1) && $this->valueHolder1ca42 = $valueHolder1ca42;
return array('valueHolder1ca42');
}
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->initializer8c698 = $initializer;
}
public function getProxyInitializer() : ?\Closure
{
return $this->initializer8c698;
}
public function initializeProxy() : bool
{
return $this->initializer8c698 && ($this->initializer8c698->__invoke($valueHolder1ca42, $this, 'initializeProxy', array(), $this->initializer8c698) || 1) && $this->valueHolder1ca42 = $valueHolder1ca42;
}
public function isProxyInitialized() : bool
{
return null !== $this->valueHolder1ca42;
}
public function getWrappedValueHolderValue()
{
return $this->valueHolder1ca42;
}
}
if (!\class_exists('TaxRuleRepository_f7111db', false)) {
\class_alias(__NAMESPACE__.'\\TaxRuleRepository_f7111db', 'TaxRuleRepository_f7111db', false);
}