$pages->first()
Returns the first $page object from the collection
-
return ($page)
Example
<?= $page->children()->first()->title() ?>
Returns the first $page object from the collection
<?= $page->children()->first()->title() ?>