$media->mime()

Returns the file's mime type

  • return (string)

Example

echo $media->mime();
// echos image/jpeg