interface ExtensionGuesserInterface in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/File/MimeType/ExtensionGuesserInterface.php \Symfony\Component\HttpFoundation\File\MimeType\ExtensionGuesserInterface
Guesses the file extension corresponding to a given mime type.
Hierarchy
- interface \Symfony\Component\HttpFoundation\File\MimeType\ExtensionGuesserInterface
Expanded class hierarchy of ExtensionGuesserInterface
All classes that implement ExtensionGuesserInterface
File
- vendor/
symfony/ http-foundation/ File/ MimeType/ ExtensionGuesserInterface.php, line 17
Namespace
Symfony\Component\HttpFoundation\File\MimeTypeView source
interface ExtensionGuesserInterface {
/**
* Makes a best guess for a file extension, given a mime type.
*
* @param string $mimeType The mime type
*
* @return string The guessed extension or NULL, if none could be guessed
*/
public function guess($mimeType);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ExtensionGuesserInterface:: |
public | function | Makes a best guess for a file extension, given a mime type. | 2 |