Skip to content

Commit

Permalink
Merge pull request #125 from henrystivens/dev
Browse files Browse the repository at this point in the history
Método para retornar el número de elementos por página configurado
  • Loading branch information
henrystivens committed Sep 21, 2022
2 parents ec15fd2 + ee89f54 commit 00f781c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Paginator.php
Original file line number Diff line number Diff line change
Expand Up @@ -247,4 +247,14 @@ public function getAlias(): array
{
return $this->items[0]->getAlias();
}

/**
* Cantidad de items por página configurado.
*
* @return int
*/
public function getPerPage(): int
{
return $this->perPage;
}
}

0 comments on commit 00f781c

Please sign in to comment.