var/cache/dev/ContainerVpmRCoC/Paginator_f262b94.php line 36

Open in your IDE?
  1. <?php
  2. include_once \dirname(__DIR__4).'/vendor/knplabs/knp-components/src/Knp/Component/Pager/PaginatorInterface.php';
  3. include_once \dirname(__DIR__4).'/vendor/knplabs/knp-components/src/Knp/Component/Pager/Paginator.php';
  4. class Paginator_f262b94 extends \Knp\Component\Pager\Paginator implements \ProxyManager\Proxy\VirtualProxyInterface
  5. {
  6.     /**
  7.      * @var \Knp\Component\Pager\Paginator|null wrapped object, if the proxy is initialized
  8.      */
  9.     private $valueHolder7f4ed null;
  10.     /**
  11.      * @var \Closure|null initializer responsible for generating the wrapped object
  12.      */
  13.     private $initializer15535 null;
  14.     /**
  15.      * @var bool[] map of public properties of the parent class
  16.      */
  17.     private static $publicPropertiese9e38 = [
  18.         
  19.     ];
  20.     public function setDefaultPaginatorOptions(array $options)
  21.     {
  22.         $this->initializer15535 && ($this->initializer15535->__invoke($valueHolder7f4ed$this'setDefaultPaginatorOptions', array('options' => $options), $this->initializer15535) || 1) && $this->valueHolder7f4ed $valueHolder7f4ed;
  23.         return $this->valueHolder7f4ed->setDefaultPaginatorOptions($options);
  24.     }
  25.     public function paginate($target$page 1$limit 10, array $options = [])
  26.     {
  27.         $this->initializer15535 && ($this->initializer15535->__invoke($valueHolder7f4ed$this'paginate', array('target' => $target'page' => $page'limit' => $limit'options' => $options), $this->initializer15535) || 1) && $this->valueHolder7f4ed $valueHolder7f4ed;
  28.         return $this->valueHolder7f4ed->paginate($target$page$limit$options);
  29.     }
  30.     public function subscribe(\Symfony\Component\EventDispatcher\EventSubscriberInterface $subscriber)
  31.     {
  32.         $this->initializer15535 && ($this->initializer15535->__invoke($valueHolder7f4ed$this'subscribe', array('subscriber' => $subscriber), $this->initializer15535) || 1) && $this->valueHolder7f4ed $valueHolder7f4ed;
  33.         return $this->valueHolder7f4ed->subscribe($subscriber);
  34.     }
  35.     public function connect($eventName$listener$priority 0)
  36.     {
  37.         $this->initializer15535 && ($this->initializer15535->__invoke($valueHolder7f4ed$this'connect', array('eventName' => $eventName'listener' => $listener'priority' => $priority), $this->initializer15535) || 1) && $this->valueHolder7f4ed $valueHolder7f4ed;
  38.         return $this->valueHolder7f4ed->connect($eventName$listener$priority);
  39.     }
  40.     /**
  41.      * Constructor for lazy initialization
  42.      *
  43.      * @param \Closure|null $initializer
  44.      */
  45.     public static function staticProxyConstructor($initializer)
  46.     {
  47.         static $reflection;
  48.         $reflection $reflection ?? new \ReflectionClass(__CLASS__);
  49.         $instance   $reflection->newInstanceWithoutConstructor();
  50.         unset($instance->eventDispatcher$instance->defaultOptions);
  51.         $instance->initializer15535 $initializer;
  52.         return $instance;
  53.     }
  54.     public function __construct(?\Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher null)
  55.     {
  56.         static $reflection;
  57.         if (! $this->valueHolder7f4ed) {
  58.             $reflection $reflection ?? new \ReflectionClass('Knp\\Component\\Pager\\Paginator');
  59.             $this->valueHolder7f4ed $reflection->newInstanceWithoutConstructor();
  60.         unset($this->eventDispatcher$this->defaultOptions);
  61.         }
  62.         $this->valueHolder7f4ed->__construct($eventDispatcher);
  63.     }
  64.     public function & __get($name)
  65.     {
  66.         $this->initializer15535 && ($this->initializer15535->__invoke($valueHolder7f4ed$this'__get', ['name' => $name], $this->initializer15535) || 1) && $this->valueHolder7f4ed $valueHolder7f4ed;
  67.         if (isset(self::$publicPropertiese9e38[$name])) {
  68.             return $this->valueHolder7f4ed->$name;
  69.         }
  70.         $realInstanceReflection = new \ReflectionClass('Knp\\Component\\Pager\\Paginator');
  71.         if (! $realInstanceReflection->hasProperty($name)) {
  72.             $targetObject $this->valueHolder7f4ed;
  73.             $backtrace debug_backtrace(false1);
  74.             trigger_error(
  75.                 sprintf(
  76.                     'Undefined property: %s::$%s in %s on line %s',
  77.                     $realInstanceReflection->getName(),
  78.                     $name,
  79.                     $backtrace[0]['file'],
  80.                     $backtrace[0]['line']
  81.                 ),
  82.                 \E_USER_NOTICE
  83.             );
  84.             return $targetObject->$name;
  85.         }
  86.         $targetObject $this->valueHolder7f4ed;
  87.         $accessor = function & () use ($targetObject$name) {
  88.             return $targetObject->$name;
  89.         };
  90.         $backtrace debug_backtrace(true2);
  91.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  92.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  93.         $returnValue = & $accessor();
  94.         return $returnValue;
  95.     }
  96.     public function __set($name$value)
  97.     {
  98.         $this->initializer15535 && ($this->initializer15535->__invoke($valueHolder7f4ed$this'__set', array('name' => $name'value' => $value), $this->initializer15535) || 1) && $this->valueHolder7f4ed $valueHolder7f4ed;
  99.         $realInstanceReflection = new \ReflectionClass('Knp\\Component\\Pager\\Paginator');
  100.         if (! $realInstanceReflection->hasProperty($name)) {
  101.             $targetObject $this->valueHolder7f4ed;
  102.             $targetObject->$name $value;
  103.             return $targetObject->$name;
  104.         }
  105.         $targetObject $this->valueHolder7f4ed;
  106.         $accessor = function & () use ($targetObject$name$value) {
  107.             $targetObject->$name $value;
  108.             return $targetObject->$name;
  109.         };
  110.         $backtrace debug_backtrace(true2);
  111.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  112.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  113.         $returnValue = & $accessor();
  114.         return $returnValue;
  115.     }
  116.     public function __isset($name)
  117.     {
  118.         $this->initializer15535 && ($this->initializer15535->__invoke($valueHolder7f4ed$this'__isset', array('name' => $name), $this->initializer15535) || 1) && $this->valueHolder7f4ed $valueHolder7f4ed;
  119.         $realInstanceReflection = new \ReflectionClass('Knp\\Component\\Pager\\Paginator');
  120.         if (! $realInstanceReflection->hasProperty($name)) {
  121.             $targetObject $this->valueHolder7f4ed;
  122.             return isset($targetObject->$name);
  123.         }
  124.         $targetObject $this->valueHolder7f4ed;
  125.         $accessor = function () use ($targetObject$name) {
  126.             return isset($targetObject->$name);
  127.         };
  128.         $backtrace debug_backtrace(true2);
  129.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  130.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  131.         $returnValue $accessor();
  132.         return $returnValue;
  133.     }
  134.     public function __unset($name)
  135.     {
  136.         $this->initializer15535 && ($this->initializer15535->__invoke($valueHolder7f4ed$this'__unset', array('name' => $name), $this->initializer15535) || 1) && $this->valueHolder7f4ed $valueHolder7f4ed;
  137.         $realInstanceReflection = new \ReflectionClass('Knp\\Component\\Pager\\Paginator');
  138.         if (! $realInstanceReflection->hasProperty($name)) {
  139.             $targetObject $this->valueHolder7f4ed;
  140.             unset($targetObject->$name);
  141.             return;
  142.         }
  143.         $targetObject $this->valueHolder7f4ed;
  144.         $accessor = function () use ($targetObject$name) {
  145.             unset($targetObject->$name);
  146.             return;
  147.         };
  148.         $backtrace debug_backtrace(true2);
  149.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  150.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  151.         $accessor();
  152.     }
  153.     public function __clone()
  154.     {
  155.         $this->initializer15535 && ($this->initializer15535->__invoke($valueHolder7f4ed$this'__clone', array(), $this->initializer15535) || 1) && $this->valueHolder7f4ed $valueHolder7f4ed;
  156.         $this->valueHolder7f4ed = clone $this->valueHolder7f4ed;
  157.     }
  158.     public function __sleep()
  159.     {
  160.         $this->initializer15535 && ($this->initializer15535->__invoke($valueHolder7f4ed$this'__sleep', array(), $this->initializer15535) || 1) && $this->valueHolder7f4ed $valueHolder7f4ed;
  161.         return array('valueHolder7f4ed');
  162.     }
  163.     public function __wakeup()
  164.     {
  165.         unset($this->eventDispatcher$this->defaultOptions);
  166.     }
  167.     public function setProxyInitializer(\Closure $initializer null) : void
  168.     {
  169.         $this->initializer15535 $initializer;
  170.     }
  171.     public function getProxyInitializer() : ?\Closure
  172.     {
  173.         return $this->initializer15535;
  174.     }
  175.     public function initializeProxy() : bool
  176.     {
  177.         return $this->initializer15535 && ($this->initializer15535->__invoke($valueHolder7f4ed$this'initializeProxy', array(), $this->initializer15535) || 1) && $this->valueHolder7f4ed $valueHolder7f4ed;
  178.     }
  179.     public function isProxyInitialized() : bool
  180.     {
  181.         return null !== $this->valueHolder7f4ed;
  182.     }
  183.     public function getWrappedValueHolderValue()
  184.     {
  185.         return $this->valueHolder7f4ed;
  186.     }
  187. }