public static function FileBinaryMimeTypeGuesser::isSupported

Returns whether this guesser is supported on the current OS

Return value

Boolean

2 calls to FileBinaryMimeTypeGuesser::isSupported()
FileBinaryMimeTypeGuesser::guess in drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/File/MimeType/FileBinaryMimeTypeGuesser.php
Guesses the mime type of the file with the given path.
MimeTypeGuesser::__construct in drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/File/MimeType/MimeTypeGuesser.php
Registers all natively provided mime type guessers

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');
}