var/cache/dev/ContainerNUaGj1m/PaginatorInterface_82dac15.php line 30

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