$pagination->firstPageUrl()

Returns the absolute URL for the first page

  • return (string)

Example

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

echo $pagination->firstPageUrl();
// http://yourdomain/example/page:1