var/cache/dev/ContainerXN3Q03t/PaginatorProxyF4d76bf.php line 25

  1. <?php
  2. namespace ContainerXN3Q03t;
  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 PaginatorProxyF4d76bf implements \Knp\Component\Pager\PaginatorInterface\Symfony\Component\VarExporter\LazyObjectInterface
  6. {
  7.     use \Symfony\Component\VarExporter\LazyProxyTrait;
  8.     private const LAZY_OBJECT_PROPERTY_SCOPES = [
  9.         'lazyObjectReal' => [self::class, 'lazyObjectReal'null],
  10.         "\0".self::class."\0lazyObjectReal" => [self::class, 'lazyObjectReal'null],
  11.     ];
  12.     public function initializeLazyObject(): \Knp\Component\Pager\PaginatorInterface
  13.     {
  14.         if (isset($this->lazyObjectReal)) {
  15.             return $this->lazyObjectReal;
  16.         }
  17.         return $this;
  18.     }
  19.     public function paginate(mixed $targetint $page 1, ?int $limit null, array $options = []): \Knp\Component\Pager\Pagination\PaginationInterface
  20.     {
  21.         if (isset($this->lazyObjectReal)) {
  22.             return $this->lazyObjectReal->paginate(...\func_get_args());
  23.         }
  24.         return throw new \BadMethodCallException('Cannot forward abstract method "Knp\Component\Pager\PaginatorInterface::paginate()".');
  25.     }
  26. }
  27. // Help opcache.preload discover always-needed symbols
  28. class_exists(\Symfony\Component\VarExporter\Internal\Hydrator::class);
  29. class_exists(\Symfony\Component\VarExporter\Internal\LazyObjectRegistry::class);
  30. class_exists(\Symfony\Component\VarExporter\Internal\LazyObjectState::class);
  31. if (!\class_exists('PaginatorProxyF4d76bf'false)) {
  32.     \class_alias(__NAMESPACE__.'\\PaginatorProxyF4d76bf''PaginatorProxyF4d76bf'false);
  33. }