$pages->keys()

Returns all keys/URIs from the collection

  • return (array)

Example

Example pages

  • project-a
  • project-b
  • project-c
<?php dump($page->children()->keys()) ?>
/*
array(
  'project-a',
  'project-b',
  'project-c'
)
*/