$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'
)
*/
Returns all keys/URIs from the collection
<?php dump($page->children()->keys()) ?>
/*
array(
'project-a',
'project-b',
'project-c'
)
*/