$files->nth($n)

Returns the nth file in the collection.

  • return ($file)

Example

<?php echo $page->files()->nth(3)->filename() ?>