$pages->findByURI($uri)

Finds a $page object in the collection by its full URI

  • $uri (string)
    The full URI of a page
  • return ($page)

Example

<?= $page->children()->findByURI('some-page')->title() ?>