$pages->flip()

Returns the collection in reverse order

  • return ($pages)

Example

<?php $articles = $page->children()->flip() ?>

Is something missing or incorrect? Edit this page on Github…