$file->toArray()
Extended info for the array export by injecting the information from the asset.
$file->toArray(): array
Return type
array
This method modifies the existing $file
object it is applied to and returns it again.
Parent class
Examples
if ($image = $page->image()):
var_dump($image->toArray());
endif;