<?php
class Paginator_f262b94 extends \Knp\Component\Pager\Paginator implements \ProxyManager\Proxy\VirtualProxyInterface
{
/**
* @var \Closure|null initializer responsible for generating the wrapped object
*/
private $valueHolderfec66 = null;
/**
* @var \Closure|null initializer responsible for generating the wrapped object
*/
private $initializerc99a9 = null;
/**
* @var bool[] map of public properties of the parent class
*/
private static $publicProperties9c3c1 = [
];
public function setDefaultPaginatorOptions(array $options)
{
$this->initializerc99a9 && ($this->initializerc99a9->__invoke($valueHolderfec66, $this, 'setDefaultPaginatorOptions', array('options' => $options), $this->initializerc99a9) || 1) && $this->valueHolderfec66 = $valueHolderfec66;
return $this->valueHolderfec66->setDefaultPaginatorOptions($options);
}
public function paginate($target, $page = 1, $limit = 10, array $options = [])
{
$this->initializerc99a9 && ($this->initializerc99a9->__invoke($valueHolderfec66, $this, 'paginate', array('target' => $target, 'page' => $page, 'limit' => $limit, 'options' => $options), $this->initializerc99a9) || 1) && $this->valueHolderfec66 = $valueHolderfec66;
return $this->valueHolderfec66->paginate($target, $page, $limit, $options);
}
public function subscribe(\Symfony\Component\EventDispatcher\EventSubscriberInterface $subscriber)
{
$this->initializerc99a9 && ($this->initializerc99a9->__invoke($valueHolderfec66, $this, 'subscribe', array('subscriber' => $subscriber), $this->initializerc99a9) || 1) && $this->valueHolderfec66 = $valueHolderfec66;
return $this->valueHolderfec66->subscribe($subscriber);
}
public function connect($eventName, $listener, $priority = 0)
{
$this->initializerc99a9 && ($this->initializerc99a9->__invoke($valueHolderfec66, $this, 'connect', array('eventName' => $eventName, 'listener' => $listener, 'priority' => $priority), $this->initializerc99a9) || 1) && $this->valueHolderfec66 = $valueHolderfec66;
return $this->valueHolderfec66->connect($eventName, $listener, $priority);
}
/**
* Constructor for lazy initialization
*
* @param \Closure|null $initializer
*/
public static function staticProxyConstructor($initializer)
{
static $reflection;
$reflection = $reflection ?? new \ReflectionClass(__CLASS__);
$instance = $reflection->newInstanceWithoutConstructor();
unset($instance->eventDispatcher, $instance->defaultOptions);
$instance->initializerc99a9 = $initializer;
return $instance;
}
public function __construct(?\Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher = null)
{
static $reflection;
if (! $this->valueHolderfec66) {
$reflection = $reflection ?? new \ReflectionClass('Knp\\Component\\Pager\\Paginator');
$this->valueHolderfec66 = $reflection->newInstanceWithoutConstructor();
unset($this->eventDispatcher, $this->defaultOptions);
}
$this->valueHolderfec66->__construct($eventDispatcher);
}
public function & __get($name)
{
$this->initializerc99a9 && ($this->initializerc99a9->__invoke($valueHolderfec66, $this, '__get', ['name' => $name], $this->initializerc99a9) || 1) && $this->valueHolderfec66 = $valueHolderfec66;
if (isset(self::$publicProperties9c3c1[$name])) {
return $this->valueHolderfec66->$name;
}
$realInstanceReflection = new \ReflectionClass(get_parent_class($this));
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolderfec66;
$backtrace = debug_backtrace(false);
trigger_error(
sprintf(
'Undefined property: %s::$%s in %s on line %s',
get_parent_class($this),
$name,
$backtrace[0]['file'],
$backtrace[0]['line']
),
\E_USER_NOTICE
);
return $targetObject->$name;
return;
}
$targetObject = $this->valueHolderfec66;
$accessor = function & () use ($targetObject, $name) {
return $targetObject->$name;
};
$backtrace = debug_backtrace(true);
$scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
$accessor = $accessor->bindTo($scopeObject, get_class($scopeObject));
$returnValue = & $accessor();
return $returnValue;
}
public function __set($name, $value)
{
$this->initializerc99a9 && ($this->initializerc99a9->__invoke($valueHolderfec66, $this, '__set', array('name' => $name, 'value' => $value), $this->initializerc99a9) || 1) && $this->valueHolderfec66 = $valueHolderfec66;
$realInstanceReflection = new \ReflectionClass(get_parent_class($this));
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolderfec66;
return $targetObject->$name = $value;
return;
}
$targetObject = $this->valueHolderfec66;
$accessor = function & () use ($targetObject, $name, $value) {
return $targetObject->$name = $value;
};
$backtrace = debug_backtrace(true);
$scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
$accessor = $accessor->bindTo($scopeObject, get_class($scopeObject));
$returnValue = & $accessor();
return $returnValue;
}
public function __isset($name)
{
$this->initializerc99a9 && ($this->initializerc99a9->__invoke($valueHolderfec66, $this, '__isset', array('name' => $name), $this->initializerc99a9) || 1) && $this->valueHolderfec66 = $valueHolderfec66;
$realInstanceReflection = new \ReflectionClass(get_parent_class($this));
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolderfec66;
return isset($targetObject->$name);
return;
}
$targetObject = $this->valueHolderfec66;
$accessor = function () use ($targetObject, $name) {
return isset($targetObject->$name);
};
$backtrace = debug_backtrace(true);
$scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
$accessor = $accessor->bindTo($scopeObject, get_class($scopeObject));
$returnValue = $accessor();
return $returnValue;
}
public function __unset($name)
{
$this->initializerc99a9 && ($this->initializerc99a9->__invoke($valueHolderfec66, $this, '__unset', array('name' => $name), $this->initializerc99a9) || 1) && $this->valueHolderfec66 = $valueHolderfec66;
$realInstanceReflection = new \ReflectionClass(get_parent_class($this));
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolderfec66;
unset($targetObject->$name);
return;
}
$targetObject = $this->valueHolderfec66;
$accessor = function () use ($targetObject, $name) {
unset($targetObject->$name);
};
$backtrace = debug_backtrace(true);
$scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
$accessor = $accessor->bindTo($scopeObject, get_class($scopeObject));
$returnValue = $accessor();
return $returnValue;
}
public function __clone()
{
$this->initializerc99a9 && ($this->initializerc99a9->__invoke($valueHolderfec66, $this, '__clone', array(), $this->initializerc99a9) || 1) && $this->valueHolderfec66 = $valueHolderfec66;
$this->valueHolderfec66 = clone $this->valueHolderfec66;
}
public function __sleep()
{
$this->initializerc99a9 && ($this->initializerc99a9->__invoke($valueHolderfec66, $this, '__sleep', array(), $this->initializerc99a9) || 1) && $this->valueHolderfec66 = $valueHolderfec66;
return array('valueHolderfec66');
}
public function __wakeup()
{
unset($this->eventDispatcher, $this->defaultOptions);
}
public function setProxyInitializer(\Closure $initializer = null)
{
$this->initializerc99a9 = $initializer;
}
public function getProxyInitializer()
{
return $this->initializerc99a9;
}
public function initializeProxy() : bool
{
return $this->initializerc99a9 && ($this->initializerc99a9->__invoke($valueHolderfec66, $this, 'initializeProxy', array(), $this->initializerc99a9) || 1) && $this->valueHolderfec66 = $valueHolderfec66;
}
public function isProxyInitialized() : bool
{
return null !== $this->valueHolderfec66;
}
public function getWrappedValueHolderValue() : ?object
{
return $this->valueHolderfec66;
}
}