Guides
Tutorials
class ApiPlatform\Doctrine\Orm\AbstractPaginator implements IteratorAggregate, `<a href="/docs/reference/State/Pagination/PartialPaginatorInterface">ApiPlatform\State\Pagination\PartialPaginatorInterface</a>`, Traversable, Countable
{
public __construct(Doctrine\ORM\Tools\Pagination\Paginator $paginator)
public getCurrentPage(): float
public getItemsPerPage(): float
public getIterator(): Traversable
public count(): int
}
class ApiPlatform\Doctrine\Orm\AbstractPaginator implements IteratorAggregate, `<a href="/docs/reference/State/Pagination/PartialPaginatorInterface">ApiPlatform\State\Pagination\PartialPaginatorInterface</a>`, 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
Doctrine\ORM\Tools\Pagination\Paginator $paginator
Traversable|array $iterator
Traversable|array $iterator
int $firstResult
int $firstResult
int $maxResults
int $maxResults
public __construct(Doctrine\ORM\Tools\Pagination\Paginator $paginator)
public __construct(Doctrine\ORM\Tools\Pagination\Paginator $paginator)
paginator | Doctrine\ORM\Tools\Pagination\Paginator |
Gets the current page number.
public getCurrentPage(): float
public getCurrentPage(): float
float
Gets the number of items by page.
public getItemsPerPage(): float
public getItemsPerPage(): float
float
public getIterator(): Traversable
public getIterator(): Traversable
Traversable
public count(): int
public count(): int
int