<?php
include_once \dirname(__DIR__, 4).'/vendor/knplabs/knp-components/src/Knp/Component/Pager/PaginatorInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/knplabs/knp-components/src/Knp/Component/Pager/Paginator.php';
class Paginator_f262b94 extends \Knp\Component\Pager\Paginator implements \ProxyManager\Proxy\VirtualProxyInterface
{
/**
* @var \Knp\Component\Pager\Paginator|null wrapped object, if the proxy is initialized
*/
private $valueHolder9d655 = null;
/**
* @var \Closure|null initializer responsible for generating the wrapped object
*/
private $initializer3defe = null;
/**
* @var bool[] map of public properties of the parent class
*/
private static $publicPropertiesc7682 = [
];
public function setDefaultPaginatorOptions(array $options)
{
$this->initializer3defe && ($this->initializer3defe->__invoke($valueHolder9d655, $this, 'setDefaultPaginatorOptions', array('options' => $options), $this->initializer3defe) || 1) && $this->valueHolder9d655 = $valueHolder9d655;
return $this->valueHolder9d655->setDefaultPaginatorOptions($options);
}
public function paginate($target, $page = 1, $limit = 10, array $options = [])
{
$this->initializer3defe && ($this->initializer3defe->__invoke($valueHolder9d655, $this, 'paginate', array('target' => $target, 'page' => $page, 'limit' => $limit, 'options' => $options), $this->initializer3defe) || 1) && $this->valueHolder9d655 = $valueHolder9d655;
return $this->valueHolder9d655->paginate($target, $page, $limit, $options);
}
public function subscribe(\Symfony\Component\EventDispatcher\EventSubscriberInterface $subscriber)
{
$this->initializer3defe && ($this->initializer3defe->__invoke($valueHolder9d655, $this, 'subscribe', array('subscriber' => $subscriber), $this->initializer3defe) || 1) && $this->valueHolder9d655 = $valueHolder9d655;
return $this->valueHolder9d655->subscribe($subscriber);
}
public function connect($eventName, $listener, $priority = 0)
{
$this->initializer3defe && ($this->initializer3defe->__invoke($valueHolder9d655, $this, 'connect', array('eventName' => $eventName, 'listener' => $listener, 'priority' => $priority), $this->initializer3defe) || 1) && $this->valueHolder9d655 = $valueHolder9d655;
return $this->valueHolder9d655->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->initializer3defe = $initializer;
return $instance;
}
public function __construct(?\Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher = null)
{
static $reflection;
if (! $this->valueHolder9d655) {
$reflection = $reflection ?? new \ReflectionClass('Knp\\Component\\Pager\\Paginator');
$this->valueHolder9d655 = $reflection->newInstanceWithoutConstructor();
unset($this->eventDispatcher, $this->defaultOptions);
}
$this->valueHolder9d655->__construct($eventDispatcher);
}
public function & __get($name)
{
$this->initializer3defe && ($this->initializer3defe->__invoke($valueHolder9d655, $this, '__get', ['name' => $name], $this->initializer3defe) || 1) && $this->valueHolder9d655 = $valueHolder9d655;
if (isset(self::$publicPropertiesc7682[$name])) {
return $this->valueHolder9d655->$name;
}
$realInstanceReflection = new \ReflectionClass('Knp\\Component\\Pager\\Paginator');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder9d655;
$backtrace = debug_backtrace(false, 1);
trigger_error(
sprintf(
'Undefined property: %s::$%s in %s on line %s',
$realInstanceReflection->getName(),
$name,
$backtrace[0]['file'],
$backtrace[0]['line']
),
\E_USER_NOTICE
);
return $targetObject->$name;
}
$targetObject = $this->valueHolder9d655;
$accessor = function & () use ($targetObject, $name) {
return $targetObject->$name;
};
$backtrace = debug_backtrace(true, 2);
$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->initializer3defe && ($this->initializer3defe->__invoke($valueHolder9d655, $this, '__set', array('name' => $name, 'value' => $value), $this->initializer3defe) || 1) && $this->valueHolder9d655 = $valueHolder9d655;
$realInstanceReflection = new \ReflectionClass('Knp\\Component\\Pager\\Paginator');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder9d655;
$targetObject->$name = $value;
return $targetObject->$name;
}
$targetObject = $this->valueHolder9d655;
$accessor = function & () use ($targetObject, $name, $value) {
$targetObject->$name = $value;
return $targetObject->$name;
};
$backtrace = debug_backtrace(true, 2);
$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->initializer3defe && ($this->initializer3defe->__invoke($valueHolder9d655, $this, '__isset', array('name' => $name), $this->initializer3defe) || 1) && $this->valueHolder9d655 = $valueHolder9d655;
$realInstanceReflection = new \ReflectionClass('Knp\\Component\\Pager\\Paginator');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder9d655;
return isset($targetObject->$name);
}
$targetObject = $this->valueHolder9d655;
$accessor = function () use ($targetObject, $name) {
return isset($targetObject->$name);
};
$backtrace = debug_backtrace(true, 2);
$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->initializer3defe && ($this->initializer3defe->__invoke($valueHolder9d655, $this, '__unset', array('name' => $name), $this->initializer3defe) || 1) && $this->valueHolder9d655 = $valueHolder9d655;
$realInstanceReflection = new \ReflectionClass('Knp\\Component\\Pager\\Paginator');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder9d655;
unset($targetObject->$name);
return;
}
$targetObject = $this->valueHolder9d655;
$accessor = function () use ($targetObject, $name) {
unset($targetObject->$name);
return;
};
$backtrace = debug_backtrace(true, 2);
$scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
$accessor = $accessor->bindTo($scopeObject, get_class($scopeObject));
$accessor();
}
public function __clone()
{
$this->initializer3defe && ($this->initializer3defe->__invoke($valueHolder9d655, $this, '__clone', array(), $this->initializer3defe) || 1) && $this->valueHolder9d655 = $valueHolder9d655;
$this->valueHolder9d655 = clone $this->valueHolder9d655;
}
public function __sleep()
{
$this->initializer3defe && ($this->initializer3defe->__invoke($valueHolder9d655, $this, '__sleep', array(), $this->initializer3defe) || 1) && $this->valueHolder9d655 = $valueHolder9d655;
return array('valueHolder9d655');
}
public function __wakeup()
{
unset($this->eventDispatcher, $this->defaultOptions);
}
public function setProxyInitializer(\Closure $initializer = null) : void
{
$this->initializer3defe = $initializer;
}
public function getProxyInitializer() : ?\Closure
{
return $this->initializer3defe;
}
public function initializeProxy() : bool
{
return $this->initializer3defe && ($this->initializer3defe->__invoke($valueHolder9d655, $this, 'initializeProxy', array(), $this->initializer3defe) || 1) && $this->valueHolder9d655 = $valueHolder9d655;
}
public function isProxyInitialized() : bool
{
return null !== $this->valueHolder9d655;
}
public function getWrappedValueHolderValue()
{
return $this->valueHolder9d655;
}
}