Returns whether this guesser is supported on the current OS/PHP setup
Return value
Boolean
File
- drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/File/MimeType/FileinfoMimeTypeGuesser.php, line 29
Class
- FileinfoMimeTypeGuesser
- Guesses the mime type using the PECL extension FileInfo
Namespace
Symfony\Component\HttpFoundation\File\MimeType
Code
public static function isSupported() {
return function_exists('finfo_open');
}