var/cache/dev/Container56j4Nyu/Paginator_f262b94.php line 32

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