<?php
namespace ContainerLlnkrJO;
include_once \dirname(__DIR__, 4).'/vendor/sylius/sylius/src/Sylius/Component/Channel/Repository/ChannelRepositoryInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/sylius/sylius/src/Sylius/Bundle/ChannelBundle/Doctrine/ORM/ChannelRepository.php';
class ChannelRepository_04960bc extends \Sylius\Bundle\ChannelBundle\Doctrine\ORM\ChannelRepository implements \ProxyManager\Proxy\VirtualProxyInterface
{
/**
* @var \Sylius\Bundle\ChannelBundle\Doctrine\ORM\ChannelRepository|null wrapped object, if the proxy is initialized
*/
private $valueHoldere3ec0 = null;
/**
* @var \Closure|null initializer responsible for generating the wrapped object
*/
private $initializera62fc = null;
/**
* @var bool[] map of public properties of the parent class
*/
private static $publicPropertiesbec27 = [
];
public function findOneByHostname(string $hostname) : ?\Sylius\Component\Channel\Model\ChannelInterface
{
$this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0, $this, 'findOneByHostname', array('hostname' => $hostname), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 = $valueHoldere3ec0;
return $this->valueHoldere3ec0->findOneByHostname($hostname);
}
public function findOneByCode(string $code) : ?\Sylius\Component\Channel\Model\ChannelInterface
{
$this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0, $this, 'findOneByCode', array('code' => $code), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 = $valueHoldere3ec0;
return $this->valueHoldere3ec0->findOneByCode($code);
}
public function findByName(string $name) : iterable
{
$this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0, $this, 'findByName', array('name' => $name), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 = $valueHoldere3ec0;
return $this->valueHoldere3ec0->findByName($name);
}
public function add(\Sylius\Component\Resource\Model\ResourceInterface $resource) : void
{
$this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0, $this, 'add', array('resource' => $resource), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 = $valueHoldere3ec0;
$this->valueHoldere3ec0->add($resource);
return;
}
public function remove(\Sylius\Component\Resource\Model\ResourceInterface $resource) : void
{
$this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0, $this, 'remove', array('resource' => $resource), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 = $valueHoldere3ec0;
$this->valueHoldere3ec0->remove($resource);
return;
}
public function createPaginator(array $criteria = [], array $sorting = []) : iterable
{
$this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0, $this, 'createPaginator', array('criteria' => $criteria, 'sorting' => $sorting), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 = $valueHoldere3ec0;
return $this->valueHoldere3ec0->createPaginator($criteria, $sorting);
}
public function createQueryBuilder($alias, $indexBy = null)
{
$this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0, $this, 'createQueryBuilder', array('alias' => $alias, 'indexBy' => $indexBy), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 = $valueHoldere3ec0;
return $this->valueHoldere3ec0->createQueryBuilder($alias, $indexBy);
}
public function createResultSetMappingBuilder($alias)
{
$this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0, $this, 'createResultSetMappingBuilder', array('alias' => $alias), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 = $valueHoldere3ec0;
return $this->valueHoldere3ec0->createResultSetMappingBuilder($alias);
}
public function createNamedQuery($queryName)
{
$this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0, $this, 'createNamedQuery', array('queryName' => $queryName), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 = $valueHoldere3ec0;
return $this->valueHoldere3ec0->createNamedQuery($queryName);
}
public function createNativeNamedQuery($queryName)
{
$this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0, $this, 'createNativeNamedQuery', array('queryName' => $queryName), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 = $valueHoldere3ec0;
return $this->valueHoldere3ec0->createNativeNamedQuery($queryName);
}
public function clear()
{
$this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0, $this, 'clear', array(), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 = $valueHoldere3ec0;
return $this->valueHoldere3ec0->clear();
}
public function find($id, $lockMode = null, $lockVersion = null)
{
$this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0, $this, 'find', array('id' => $id, 'lockMode' => $lockMode, 'lockVersion' => $lockVersion), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 = $valueHoldere3ec0;
return $this->valueHoldere3ec0->find($id, $lockMode, $lockVersion);
}
public function findAll()
{
$this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0, $this, 'findAll', array(), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 = $valueHoldere3ec0;
return $this->valueHoldere3ec0->findAll();
}
public function findBy(array $criteria, ?array $orderBy = null, $limit = null, $offset = null)
{
$this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0, $this, 'findBy', array('criteria' => $criteria, 'orderBy' => $orderBy, 'limit' => $limit, 'offset' => $offset), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 = $valueHoldere3ec0;
return $this->valueHoldere3ec0->findBy($criteria, $orderBy, $limit, $offset);
}
public function findOneBy(array $criteria, ?array $orderBy = null)
{
$this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0, $this, 'findOneBy', array('criteria' => $criteria, 'orderBy' => $orderBy), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 = $valueHoldere3ec0;
return $this->valueHoldere3ec0->findOneBy($criteria, $orderBy);
}
public function count(array $criteria)
{
$this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0, $this, 'count', array('criteria' => $criteria), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 = $valueHoldere3ec0;
return $this->valueHoldere3ec0->count($criteria);
}
public function __call($method, $arguments)
{
$this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0, $this, '__call', array('method' => $method, 'arguments' => $arguments), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 = $valueHoldere3ec0;
return $this->valueHoldere3ec0->__call($method, $arguments);
}
public function getClassName()
{
$this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0, $this, 'getClassName', array(), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 = $valueHoldere3ec0;
return $this->valueHoldere3ec0->getClassName();
}
public function matching(\Doctrine\Common\Collections\Criteria $criteria)
{
$this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0, $this, 'matching', array('criteria' => $criteria), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 = $valueHoldere3ec0;
return $this->valueHoldere3ec0->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->_entityName, $instance->_em, $instance->_class);
$instance->initializera62fc = $initializer;
return $instance;
}
public function __construct(\Doctrine\ORM\EntityManagerInterface $em, \Doctrine\ORM\Mapping\ClassMetadata $class)
{
static $reflection;
if (! $this->valueHoldere3ec0) {
$reflection = $reflection ?? new \ReflectionClass('Sylius\\Bundle\\ChannelBundle\\Doctrine\\ORM\\ChannelRepository');
$this->valueHoldere3ec0 = $reflection->newInstanceWithoutConstructor();
unset($this->_entityName, $this->_em, $this->_class);
}
$this->valueHoldere3ec0->__construct($em, $class);
}
public function & __get($name)
{
$this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0, $this, '__get', ['name' => $name], $this->initializera62fc) || 1) && $this->valueHoldere3ec0 = $valueHoldere3ec0;
if (isset(self::$publicPropertiesbec27[$name])) {
return $this->valueHoldere3ec0->$name;
}
$realInstanceReflection = new \ReflectionClass('Sylius\\Bundle\\ChannelBundle\\Doctrine\\ORM\\ChannelRepository');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHoldere3ec0;
$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->valueHoldere3ec0;
$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->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0, $this, '__set', array('name' => $name, 'value' => $value), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 = $valueHoldere3ec0;
$realInstanceReflection = new \ReflectionClass('Sylius\\Bundle\\ChannelBundle\\Doctrine\\ORM\\ChannelRepository');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHoldere3ec0;
$targetObject->$name = $value;
return $targetObject->$name;
}
$targetObject = $this->valueHoldere3ec0;
$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->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0, $this, '__isset', array('name' => $name), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 = $valueHoldere3ec0;
$realInstanceReflection = new \ReflectionClass('Sylius\\Bundle\\ChannelBundle\\Doctrine\\ORM\\ChannelRepository');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHoldere3ec0;
return isset($targetObject->$name);
}
$targetObject = $this->valueHoldere3ec0;
$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->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0, $this, '__unset', array('name' => $name), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 = $valueHoldere3ec0;
$realInstanceReflection = new \ReflectionClass('Sylius\\Bundle\\ChannelBundle\\Doctrine\\ORM\\ChannelRepository');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHoldere3ec0;
unset($targetObject->$name);
return;
}
$targetObject = $this->valueHoldere3ec0;
$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->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0, $this, '__clone', array(), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 = $valueHoldere3ec0;
$this->valueHoldere3ec0 = clone $this->valueHoldere3ec0;
}
public function __sleep()
{
$this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0, $this, '__sleep', array(), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 = $valueHoldere3ec0;
return array('valueHoldere3ec0');
}
public function __wakeup()
{
unset($this->_entityName, $this->_em, $this->_class);
}
public function setProxyInitializer(\Closure $initializer = null) : void
{
$this->initializera62fc = $initializer;
}
public function getProxyInitializer() : ?\Closure
{
return $this->initializera62fc;
}
public function initializeProxy() : bool
{
return $this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0, $this, 'initializeProxy', array(), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 = $valueHoldere3ec0;
}
public function isProxyInitialized() : bool
{
return null !== $this->valueHoldere3ec0;
}
public function getWrappedValueHolderValue()
{
return $this->valueHoldere3ec0;
}
}
if (!\class_exists('ChannelRepository_04960bc', false)) {
\class_alias(__NAMESPACE__.'\\ChannelRepository_04960bc', 'ChannelRepository_04960bc', false);
}