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

Open in your IDE?
  1. <?php
  2. namespace ContainerFhnhFLk;
  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 $valueHolderc0169 null;
  11.     /**
  12.      * @var \Closure|null initializer responsible for generating the wrapped object
  13.      */
  14.     private $initializer756ad null;
  15.     /**
  16.      * @var bool[] map of public properties of the parent class
  17.      */
  18.     private static $publicProperties7c936 = [
  19.         
  20.     ];
  21.     public function paginate($targetint $page 1, ?int $limit null, array $options = []) : \Knp\Component\Pager\Pagination\PaginationInterface
  22.     {
  23.         $this->initializer756ad && ($this->initializer756ad->__invoke($valueHolderc0169$this'paginate', array('target' => $target'page' => $page'limit' => $limit'options' => $options), $this->initializer756ad) || 1) && $this->valueHolderc0169 $valueHolderc0169;
  24.         if ($this->valueHolderc0169 === $returnValue $this->valueHolderc0169->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->initializer756ad $initializer;
  40.         return $instance;
  41.     }
  42.     public function __construct()
  43.     {
  44.         static $reflection;
  45.         if (! $this->valueHolderc0169) {
  46.             $reflection $reflection ?? new \ReflectionClass('Knp\\Component\\Pager\\PaginatorInterface');
  47.             $this->valueHolderc0169 $reflection->newInstanceWithoutConstructor();
  48.         }
  49.     }
  50.     public function & __get($name)
  51.     {
  52.         $this->initializer756ad && ($this->initializer756ad->__invoke($valueHolderc0169$this'__get', ['name' => $name], $this->initializer756ad) || 1) && $this->valueHolderc0169 $valueHolderc0169;
  53.         if (isset(self::$publicProperties7c936[$name])) {
  54.             return $this->valueHolderc0169->$name;
  55.         }
  56.         $realInstanceReflection = new \ReflectionClass('Knp\\Component\\Pager\\PaginatorInterface');
  57.         if (! $realInstanceReflection->hasProperty($name)) {
  58.             $targetObject $this->valueHolderc0169;
  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->valueHolderc0169;
  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->initializer756ad && ($this->initializer756ad->__invoke($valueHolderc0169$this'__set', array('name' => $name'value' => $value), $this->initializer756ad) || 1) && $this->valueHolderc0169 $valueHolderc0169;
  85.         $realInstanceReflection = new \ReflectionClass('Knp\\Component\\Pager\\PaginatorInterface');
  86.         if (! $realInstanceReflection->hasProperty($name)) {
  87.             $targetObject $this->valueHolderc0169;
  88.             $targetObject->$name $value;
  89.             return $targetObject->$name;
  90.         }
  91.         $targetObject $this->valueHolderc0169;
  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->initializer756ad && ($this->initializer756ad->__invoke($valueHolderc0169$this'__isset', array('name' => $name), $this->initializer756ad) || 1) && $this->valueHolderc0169 $valueHolderc0169;
  105.         $realInstanceReflection = new \ReflectionClass('Knp\\Component\\Pager\\PaginatorInterface');
  106.         if (! $realInstanceReflection->hasProperty($name)) {
  107.             $targetObject $this->valueHolderc0169;
  108.             return isset($targetObject->$name);
  109.         }
  110.         $targetObject $this->valueHolderc0169;
  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->initializer756ad && ($this->initializer756ad->__invoke($valueHolderc0169$this'__unset', array('name' => $name), $this->initializer756ad) || 1) && $this->valueHolderc0169 $valueHolderc0169;
  123.         $realInstanceReflection = new \ReflectionClass('Knp\\Component\\Pager\\PaginatorInterface');
  124.         if (! $realInstanceReflection->hasProperty($name)) {
  125.             $targetObject $this->valueHolderc0169;
  126.             unset($targetObject->$name);
  127.             return;
  128.         }
  129.         $targetObject $this->valueHolderc0169;
  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->initializer756ad && ($this->initializer756ad->__invoke($valueHolderc0169$this'__clone', array(), $this->initializer756ad) || 1) && $this->valueHolderc0169 $valueHolderc0169;
  142.         $this->valueHolderc0169 = clone $this->valueHolderc0169;
  143.     }
  144.     public function __sleep()
  145.     {
  146.         $this->initializer756ad && ($this->initializer756ad->__invoke($valueHolderc0169$this'__sleep', array(), $this->initializer756ad) || 1) && $this->valueHolderc0169 $valueHolderc0169;
  147.         return array('valueHolderc0169');
  148.     }
  149.     public function __wakeup()
  150.     {
  151.     }
  152.     public function setProxyInitializer(\Closure $initializer null) : void
  153.     {
  154.         $this->initializer756ad $initializer;
  155.     }
  156.     public function getProxyInitializer() : ?\Closure
  157.     {
  158.         return $this->initializer756ad;
  159.     }
  160.     public function initializeProxy() : bool
  161.     {
  162.         return $this->initializer756ad && ($this->initializer756ad->__invoke($valueHolderc0169$this'initializeProxy', array(), $this->initializer756ad) || 1) && $this->valueHolderc0169 $valueHolderc0169;
  163.     }
  164.     public function isProxyInitialized() : bool
  165.     {
  166.         return null !== $this->valueHolderc0169;
  167.     }
  168.     public function getWrappedValueHolderValue()
  169.     {
  170.         return $this->valueHolderc0169;
  171.     }
  172. }
  173. if (!\class_exists('PaginatorInterface_82dac15'false)) {
  174.     \class_alias(__NAMESPACE__.'\\PaginatorInterface_82dac15''PaginatorInterface_82dac15'false);
  175. }