Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
ApiPlatform
Core
Bridge
Doctrine
Orm
Paginator
getLastPage
ApiPlatform\Core\Bridge\Doctrine\Orm\Paginator::getLastPage PHP Method
Paginator Class Documentation
ファイルを表示
Open project: api-platform/core
getLastPage()
public
method
public
getLastPage
( ) :
float
return
float
public function getLastPage() : float { return ceil($this->totalItems / $this->maxResults) ?: 1.0; }
Paginator
__construct
count
getCurrentPage
getItemsPerPage
getIterator
getLastPage
getTotalItems