$file->files()
Returns the parent Files collection
$file->files(): Files
Return type
Parent class
Examples
if ($first = $file->files()->first()) {
echo 'The first file in the collection is: ' . $first->title();
}
Returns the parent Files collection
$file->files(): Files
if ($first = $file->files()->first()) {
echo 'The first file in the collection is: ' . $first->title();
}