<?php
namespace ContainerXorLgGn;
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 PaginatorInterface_82dac15 implements \ProxyManager\Proxy\VirtualProxyInterface, \Knp\Component\Pager\PaginatorInterface
{
/**
* @var \Knp\Component\Pager\PaginatorInterface|null wrapped object, if the proxy is initialized
*/
private $valueHolder55e7f = null;
/**
* @var \Closure|null initializer responsible for generating the wrapped object
*/
private $initializer082c6 = null;
/**
* @var bool[] map of public properties of the parent class
*/
private static $publicPropertiese735d = [
];
public function paginate($target, int $page = 1, ?int $limit = null, array $options = []) : \Knp\Component\Pager\Pagination\PaginationInterface
{
$this->initializer082c6 && ($this->initializer082c6->__invoke($valueHolder55e7f, $this, 'paginate', array('target' => $target, 'page' => $page, 'limit' => $limit, 'options' => $options), $this->initializer082c6) || 1) && $this->valueHolder55e7f = $valueHolder55e7f;
if ($this->valueHolder55e7f === $returnValue = $this->valueHolder55e7f->paginate($target, $page, $limit, $options)) {
return $this;
}
return $returnValue;
}
/**
* Constructor for lazy initialization
*
* @param \Closure|null $initializer
*/
public static function staticProxyConstructor($initializer)
{
static $reflection;
$reflection = $reflection ?? new \ReflectionClass(__CLASS__);
$instance = $reflection->newInstanceWithoutConstructor();
$instance->initializer082c6 = $initializer;
return $instance;
}
public function __construct()
{
static $reflection;
if (! $this->valueHolder55e7f) {
$reflection = $reflection ?? new \ReflectionClass('Knp\\Component\\Pager\\PaginatorInterface');
$this->valueHolder55e7f = $reflection->newInstanceWithoutConstructor();
}
}
public function & __get($name)
{
$this->initializer082c6 && ($this->initializer082c6->__invoke($valueHolder55e7f, $this, '__get', ['name' => $name], $this->initializer082c6) || 1) && $this->valueHolder55e7f = $valueHolder55e7f;
if (isset(self::$publicPropertiese735d[$name])) {
return $this->valueHolder55e7f->$name;
}
$realInstanceReflection = new \ReflectionClass('Knp\\Component\\Pager\\PaginatorInterface');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder55e7f;
$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->valueHolder55e7f;
$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->initializer082c6 && ($this->initializer082c6->__invoke($valueHolder55e7f, $this, '__set', array('name' => $name, 'value' => $value), $this->initializer082c6) || 1) && $this->valueHolder55e7f = $valueHolder55e7f;
$realInstanceReflection = new \ReflectionClass('Knp\\Component\\Pager\\PaginatorInterface');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder55e7f;
$targetObject->$name = $value;
return $targetObject->$name;
}
$targetObject = $this->valueHolder55e7f;
$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->initializer082c6 && ($this->initializer082c6->__invoke($valueHolder55e7f, $this, '__isset', array('name' => $name), $this->initializer082c6) || 1) && $this->valueHolder55e7f = $valueHolder55e7f;
$realInstanceReflection = new \ReflectionClass('Knp\\Component\\Pager\\PaginatorInterface');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder55e7f;
return isset($targetObject->$name);
}
$targetObject = $this->valueHolder55e7f;
$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->initializer082c6 && ($this->initializer082c6->__invoke($valueHolder55e7f, $this, '__unset', array('name' => $name), $this->initializer082c6) || 1) && $this->valueHolder55e7f = $valueHolder55e7f;
$realInstanceReflection = new \ReflectionClass('Knp\\Component\\Pager\\PaginatorInterface');
if (! $realInstanceReflection->hasProperty($name)) {
$targetObject = $this->valueHolder55e7f;
unset($targetObject->$name);
return;
}
$targetObject = $this->valueHolder55e7f;
$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->initializer082c6 && ($this->initializer082c6->__invoke($valueHolder55e7f, $this, '__clone', array(), $this->initializer082c6) || 1) && $this->valueHolder55e7f = $valueHolder55e7f;
$this->valueHolder55e7f = clone $this->valueHolder55e7f;
}
public function __sleep()
{
$this->initializer082c6 && ($this->initializer082c6->__invoke($valueHolder55e7f, $this, '__sleep', array(), $this->initializer082c6) || 1) && $this->valueHolder55e7f = $valueHolder55e7f;
return array('valueHolder55e7f');
}
public function __wakeup()
{
}
public function setProxyInitializer(\Closure $initializer = null) : void
{
$this->initializer082c6 = $initializer;
}
public function getProxyInitializer() : ?\Closure
{
return $this->initializer082c6;
}
public function initializeProxy() : bool
{
return $this->initializer082c6 && ($this->initializer082c6->__invoke($valueHolder55e7f, $this, 'initializeProxy', array(), $this->initializer082c6) || 1) && $this->valueHolder55e7f = $valueHolder55e7f;
}
public function isProxyInitialized() : bool
{
return null !== $this->valueHolder55e7f;
}
public function getWrappedValueHolderValue()
{
return $this->valueHolder55e7f;
}
}
if (!\class_exists('PaginatorInterface_82dac15', false)) {
\class_alias(__NAMESPACE__.'\\PaginatorInterface_82dac15', 'PaginatorInterface_82dac15', false);
}