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