Returns whether this guesser is supported on the current OS
Return value
Boolean
File
- drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/File/MimeType/FileBinaryMimeTypeGuesser.php, line 46
Class
- FileBinaryMimeTypeGuesser
- Guesses the mime type with the binary "file" (only available on *nix)
Namespace
Symfony\Component\HttpFoundation\File\MimeType
Code
public static function isSupported() {
return !defined('PHP_WINDOWS_VERSION_BUILD');
}