public function getExtensionFromMimeType($mimeType) {
        return isset($this->mimeTypeToExtension[$mimeType]) ? $this->mimeTypeToExtension[$mimeType] : null;
    }
public function getExtensionFromMimeType($mimeType) {
        return isset($this->mimeTypeToExtension[$mimeType]) ? $this->mimeTypeToExtension[$mimeType] : null;
    }
public function getExtensionFromMimeType ( $ mimeType ) { return isset ( $ this -> mimeTypeToExtension [ $ mimeType ] ) ? $ this -> mimeTypeToExtension [ $ mimeType ] : null ; }
Look up the extension for a given mime type.

@param string $mimeType The mime type to look up the extension for.
@return string|null Returns the first registered mime type for a given extension
Look up the extension for a given mime type .