$file->mime()
Returns the file's mime type
-
return (string)
Example
echo $page->image('my-image.jpg')->mime();
// echos image/jpeg
Returns the file's mime type
echo $page->image('my-image.jpg')->mime();
// echos image/jpeg