var/cache/dev/ContainerLlnkrJO/ChannelRepository_04960bc.php line 33

Open in your IDE?
  1. <?php
  2. namespace ContainerLlnkrJO;
  3. include_once \dirname(__DIR__4).'/vendor/sylius/sylius/src/Sylius/Component/Channel/Repository/ChannelRepositoryInterface.php';
  4. include_once \dirname(__DIR__4).'/vendor/sylius/sylius/src/Sylius/Bundle/ChannelBundle/Doctrine/ORM/ChannelRepository.php';
  5. class ChannelRepository_04960bc extends \Sylius\Bundle\ChannelBundle\Doctrine\ORM\ChannelRepository implements \ProxyManager\Proxy\VirtualProxyInterface
  6. {
  7.     /**
  8.      * @var \Sylius\Bundle\ChannelBundle\Doctrine\ORM\ChannelRepository|null wrapped object, if the proxy is initialized
  9.      */
  10.     private $valueHoldere3ec0 null;
  11.     /**
  12.      * @var \Closure|null initializer responsible for generating the wrapped object
  13.      */
  14.     private $initializera62fc null;
  15.     /**
  16.      * @var bool[] map of public properties of the parent class
  17.      */
  18.     private static $publicPropertiesbec27 = [
  19.         
  20.     ];
  21.     public function findOneByHostname(string $hostname) : ?\Sylius\Component\Channel\Model\ChannelInterface
  22.     {
  23.         $this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0$this'findOneByHostname', array('hostname' => $hostname), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 $valueHoldere3ec0;
  24.         return $this->valueHoldere3ec0->findOneByHostname($hostname);
  25.     }
  26.     public function findOneByCode(string $code) : ?\Sylius\Component\Channel\Model\ChannelInterface
  27.     {
  28.         $this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0$this'findOneByCode', array('code' => $code), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 $valueHoldere3ec0;
  29.         return $this->valueHoldere3ec0->findOneByCode($code);
  30.     }
  31.     public function findByName(string $name) : iterable
  32.     {
  33.         $this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0$this'findByName', array('name' => $name), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 $valueHoldere3ec0;
  34.         return $this->valueHoldere3ec0->findByName($name);
  35.     }
  36.     public function add(\Sylius\Component\Resource\Model\ResourceInterface $resource) : void
  37.     {
  38.         $this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0$this'add', array('resource' => $resource), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 $valueHoldere3ec0;
  39.         $this->valueHoldere3ec0->add($resource);
  40. return;
  41.     }
  42.     public function remove(\Sylius\Component\Resource\Model\ResourceInterface $resource) : void
  43.     {
  44.         $this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0$this'remove', array('resource' => $resource), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 $valueHoldere3ec0;
  45.         $this->valueHoldere3ec0->remove($resource);
  46. return;
  47.     }
  48.     public function createPaginator(array $criteria = [], array $sorting = []) : iterable
  49.     {
  50.         $this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0$this'createPaginator', array('criteria' => $criteria'sorting' => $sorting), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 $valueHoldere3ec0;
  51.         return $this->valueHoldere3ec0->createPaginator($criteria$sorting);
  52.     }
  53.     public function createQueryBuilder($alias$indexBy null)
  54.     {
  55.         $this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0$this'createQueryBuilder', array('alias' => $alias'indexBy' => $indexBy), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 $valueHoldere3ec0;
  56.         return $this->valueHoldere3ec0->createQueryBuilder($alias$indexBy);
  57.     }
  58.     public function createResultSetMappingBuilder($alias)
  59.     {
  60.         $this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0$this'createResultSetMappingBuilder', array('alias' => $alias), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 $valueHoldere3ec0;
  61.         return $this->valueHoldere3ec0->createResultSetMappingBuilder($alias);
  62.     }
  63.     public function createNamedQuery($queryName)
  64.     {
  65.         $this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0$this'createNamedQuery', array('queryName' => $queryName), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 $valueHoldere3ec0;
  66.         return $this->valueHoldere3ec0->createNamedQuery($queryName);
  67.     }
  68.     public function createNativeNamedQuery($queryName)
  69.     {
  70.         $this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0$this'createNativeNamedQuery', array('queryName' => $queryName), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 $valueHoldere3ec0;
  71.         return $this->valueHoldere3ec0->createNativeNamedQuery($queryName);
  72.     }
  73.     public function clear()
  74.     {
  75.         $this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0$this'clear', array(), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 $valueHoldere3ec0;
  76.         return $this->valueHoldere3ec0->clear();
  77.     }
  78.     public function find($id$lockMode null$lockVersion null)
  79.     {
  80.         $this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0$this'find', array('id' => $id'lockMode' => $lockMode'lockVersion' => $lockVersion), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 $valueHoldere3ec0;
  81.         return $this->valueHoldere3ec0->find($id$lockMode$lockVersion);
  82.     }
  83.     public function findAll()
  84.     {
  85.         $this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0$this'findAll', array(), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 $valueHoldere3ec0;
  86.         return $this->valueHoldere3ec0->findAll();
  87.     }
  88.     public function findBy(array $criteria, ?array $orderBy null$limit null$offset null)
  89.     {
  90.         $this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0$this'findBy', array('criteria' => $criteria'orderBy' => $orderBy'limit' => $limit'offset' => $offset), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 $valueHoldere3ec0;
  91.         return $this->valueHoldere3ec0->findBy($criteria$orderBy$limit$offset);
  92.     }
  93.     public function findOneBy(array $criteria, ?array $orderBy null)
  94.     {
  95.         $this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0$this'findOneBy', array('criteria' => $criteria'orderBy' => $orderBy), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 $valueHoldere3ec0;
  96.         return $this->valueHoldere3ec0->findOneBy($criteria$orderBy);
  97.     }
  98.     public function count(array $criteria)
  99.     {
  100.         $this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0$this'count', array('criteria' => $criteria), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 $valueHoldere3ec0;
  101.         return $this->valueHoldere3ec0->count($criteria);
  102.     }
  103.     public function __call($method$arguments)
  104.     {
  105.         $this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0$this'__call', array('method' => $method'arguments' => $arguments), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 $valueHoldere3ec0;
  106.         return $this->valueHoldere3ec0->__call($method$arguments);
  107.     }
  108.     public function getClassName()
  109.     {
  110.         $this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0$this'getClassName', array(), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 $valueHoldere3ec0;
  111.         return $this->valueHoldere3ec0->getClassName();
  112.     }
  113.     public function matching(\Doctrine\Common\Collections\Criteria $criteria)
  114.     {
  115.         $this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0$this'matching', array('criteria' => $criteria), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 $valueHoldere3ec0;
  116.         return $this->valueHoldere3ec0->matching($criteria);
  117.     }
  118.     /**
  119.      * Constructor for lazy initialization
  120.      *
  121.      * @param \Closure|null $initializer
  122.      */
  123.     public static function staticProxyConstructor($initializer)
  124.     {
  125.         static $reflection;
  126.         $reflection $reflection ?? new \ReflectionClass(__CLASS__);
  127.         $instance   $reflection->newInstanceWithoutConstructor();
  128.         unset($instance->_entityName$instance->_em$instance->_class);
  129.         $instance->initializera62fc $initializer;
  130.         return $instance;
  131.     }
  132.     public function __construct(\Doctrine\ORM\EntityManagerInterface $em, \Doctrine\ORM\Mapping\ClassMetadata $class)
  133.     {
  134.         static $reflection;
  135.         if (! $this->valueHoldere3ec0) {
  136.             $reflection $reflection ?? new \ReflectionClass('Sylius\\Bundle\\ChannelBundle\\Doctrine\\ORM\\ChannelRepository');
  137.             $this->valueHoldere3ec0 $reflection->newInstanceWithoutConstructor();
  138.         unset($this->_entityName$this->_em$this->_class);
  139.         }
  140.         $this->valueHoldere3ec0->__construct($em$class);
  141.     }
  142.     public function & __get($name)
  143.     {
  144.         $this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0$this'__get', ['name' => $name], $this->initializera62fc) || 1) && $this->valueHoldere3ec0 $valueHoldere3ec0;
  145.         if (isset(self::$publicPropertiesbec27[$name])) {
  146.             return $this->valueHoldere3ec0->$name;
  147.         }
  148.         $realInstanceReflection = new \ReflectionClass('Sylius\\Bundle\\ChannelBundle\\Doctrine\\ORM\\ChannelRepository');
  149.         if (! $realInstanceReflection->hasProperty($name)) {
  150.             $targetObject $this->valueHoldere3ec0;
  151.             $backtrace debug_backtrace(false1);
  152.             trigger_error(
  153.                 sprintf(
  154.                     'Undefined property: %s::$%s in %s on line %s',
  155.                     $realInstanceReflection->getName(),
  156.                     $name,
  157.                     $backtrace[0]['file'],
  158.                     $backtrace[0]['line']
  159.                 ),
  160.                 \E_USER_NOTICE
  161.             );
  162.             return $targetObject->$name;
  163.         }
  164.         $targetObject $this->valueHoldere3ec0;
  165.         $accessor = function & () use ($targetObject$name) {
  166.             return $targetObject->$name;
  167.         };
  168.         $backtrace debug_backtrace(true2);
  169.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  170.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  171.         $returnValue = & $accessor();
  172.         return $returnValue;
  173.     }
  174.     public function __set($name$value)
  175.     {
  176.         $this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0$this'__set', array('name' => $name'value' => $value), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 $valueHoldere3ec0;
  177.         $realInstanceReflection = new \ReflectionClass('Sylius\\Bundle\\ChannelBundle\\Doctrine\\ORM\\ChannelRepository');
  178.         if (! $realInstanceReflection->hasProperty($name)) {
  179.             $targetObject $this->valueHoldere3ec0;
  180.             $targetObject->$name $value;
  181.             return $targetObject->$name;
  182.         }
  183.         $targetObject $this->valueHoldere3ec0;
  184.         $accessor = function & () use ($targetObject$name$value) {
  185.             $targetObject->$name $value;
  186.             return $targetObject->$name;
  187.         };
  188.         $backtrace debug_backtrace(true2);
  189.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  190.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  191.         $returnValue = & $accessor();
  192.         return $returnValue;
  193.     }
  194.     public function __isset($name)
  195.     {
  196.         $this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0$this'__isset', array('name' => $name), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 $valueHoldere3ec0;
  197.         $realInstanceReflection = new \ReflectionClass('Sylius\\Bundle\\ChannelBundle\\Doctrine\\ORM\\ChannelRepository');
  198.         if (! $realInstanceReflection->hasProperty($name)) {
  199.             $targetObject $this->valueHoldere3ec0;
  200.             return isset($targetObject->$name);
  201.         }
  202.         $targetObject $this->valueHoldere3ec0;
  203.         $accessor = function () use ($targetObject$name) {
  204.             return isset($targetObject->$name);
  205.         };
  206.         $backtrace debug_backtrace(true2);
  207.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  208.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  209.         $returnValue $accessor();
  210.         return $returnValue;
  211.     }
  212.     public function __unset($name)
  213.     {
  214.         $this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0$this'__unset', array('name' => $name), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 $valueHoldere3ec0;
  215.         $realInstanceReflection = new \ReflectionClass('Sylius\\Bundle\\ChannelBundle\\Doctrine\\ORM\\ChannelRepository');
  216.         if (! $realInstanceReflection->hasProperty($name)) {
  217.             $targetObject $this->valueHoldere3ec0;
  218.             unset($targetObject->$name);
  219.             return;
  220.         }
  221.         $targetObject $this->valueHoldere3ec0;
  222.         $accessor = function () use ($targetObject$name) {
  223.             unset($targetObject->$name);
  224.             return;
  225.         };
  226.         $backtrace debug_backtrace(true2);
  227.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  228.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  229.         $accessor();
  230.     }
  231.     public function __clone()
  232.     {
  233.         $this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0$this'__clone', array(), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 $valueHoldere3ec0;
  234.         $this->valueHoldere3ec0 = clone $this->valueHoldere3ec0;
  235.     }
  236.     public function __sleep()
  237.     {
  238.         $this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0$this'__sleep', array(), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 $valueHoldere3ec0;
  239.         return array('valueHoldere3ec0');
  240.     }
  241.     public function __wakeup()
  242.     {
  243.         unset($this->_entityName$this->_em$this->_class);
  244.     }
  245.     public function setProxyInitializer(\Closure $initializer null) : void
  246.     {
  247.         $this->initializera62fc $initializer;
  248.     }
  249.     public function getProxyInitializer() : ?\Closure
  250.     {
  251.         return $this->initializera62fc;
  252.     }
  253.     public function initializeProxy() : bool
  254.     {
  255.         return $this->initializera62fc && ($this->initializera62fc->__invoke($valueHoldere3ec0$this'initializeProxy', array(), $this->initializera62fc) || 1) && $this->valueHoldere3ec0 $valueHoldere3ec0;
  256.     }
  257.     public function isProxyInitialized() : bool
  258.     {
  259.         return null !== $this->valueHoldere3ec0;
  260.     }
  261.     public function getWrappedValueHolderValue()
  262.     {
  263.         return $this->valueHoldere3ec0;
  264.     }
  265. }
  266. if (!\class_exists('ChannelRepository_04960bc'false)) {
  267.     \class_alias(__NAMESPACE__.'\\ChannelRepository_04960bc''ChannelRepository_04960bc'false);
  268. }