$file->files()

Returns the collection of sibling files including the current object

  • return ($files)

Example

echo 'The first file in the collection is: ' . $file->files()->first()->title();

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