fromExtension() fromExtension(string $extension) : string|null Get a mimetype value from a file extension Parameters string $extension File extension Returns string|null
fromFilename() fromFilename(string $filename) : string|null Get a mimetype from a filename Parameters string $filename Filename to generate a mimetype from Returns string|null