Symfony\Component\HttpFoundation\Request::getMimeType
Gets the mime type associated with the format.
Signature
public function getMimeType(string
$format )
Parameters
$format
— string- The format
Returns
- string
- The associated mime type (null if not found)