$media->mime()

Returns the file's mime type

  • return (string)

Example

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

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