PHP Class ApiPlatform\Core\Bridge\Doctrine\Orm\Paginator

Author: Kévin Dunglas ([email protected])
Inheritance: implements IteratorAggregate, implements ApiPlatform\Core\DataProvider\PaginatorInterface
Datei anzeigen Open project: api-platform/core

Public Methods

Method Description
__construct ( Doctrine\ORM\Tools\Pagination\Paginator $paginator )
count ( )
getCurrentPage ( ) : float
getItemsPerPage ( ) : float
getIterator ( )
getLastPage ( ) : float
getTotalItems ( ) : float

Method Details

__construct() public method

public __construct ( Doctrine\ORM\Tools\Pagination\Paginator $paginator )
$paginator Doctrine\ORM\Tools\Pagination\Paginator

count() public method

public count ( )

getCurrentPage() public method

public getCurrentPage ( ) : float
return float

getItemsPerPage() public method

public getItemsPerPage ( ) : float
return float

getIterator() public method

public getIterator ( )

getLastPage() public method

public getLastPage ( ) : float
return float

getTotalItems() public method

public getTotalItems ( ) : float
return float