$pagination->firstPage()

Returns the first page number — which is actually always 1.

  • return (integer)

Example

$subpages   = $page->children()->paginate(10);
$pagination = $subpages->pagination();

echo $pagination->firstPage();
// most probably 1

Is something missing or incorrect? Edit this page on Github…