class ApiPlatform\Doctrine\Orm\AbstractPaginator implements IteratorAggregate, ApiPlatform\State\Pagination\PartialPaginatorInterface, Traversable, Countable
{
public __construct(Doctrine\ORM\Tools\Pagination\Paginator $paginator)
public getCurrentPage(): float
public getItemsPerPage(): float
public getIterator(): Traversable
public count(): int
}
Doctrine\ORM\Tools\Pagination\Paginator $paginator
Traversable|array $iterator
int $firstResult
int $maxResults
public __construct(Doctrine\ORM\Tools\Pagination\Paginator $paginator)
paginator | Doctrine\ORM\Tools\Pagination\Paginator |
Gets the current page number.
public getCurrentPage(): float
float
Gets the number of items by page.
public getItemsPerPage(): float
float
public getIterator(): Traversable
Traversable
public count(): int
int
Made with love by
Les-Tilleuls.coop can help you design and develop your APIs and web projects, and train your teams in API Platform, Symfony, Next.js, Kubernetes and a wide range of other technologies.
Learn more