public static function FileBinaryMimeTypeGuesser::isSupported in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-foundation/File/MimeType/FileBinaryMimeTypeGuesser.php \Symfony\Component\HttpFoundation\File\MimeType\FileBinaryMimeTypeGuesser::isSupported()
Returns whether this guesser is supported on the current OS.
Return value
bool
2 calls to FileBinaryMimeTypeGuesser::isSupported()
- FileBinaryMimeTypeGuesser::guess in vendor/
symfony/ http-foundation/ File/ MimeType/ FileBinaryMimeTypeGuesser.php - Guesses the mime type of the file with the given path.
- MimeTypeGuesser::__construct in vendor/
symfony/ http-foundation/ File/ MimeType/ MimeTypeGuesser.php - Registers all natively provided mime type guessers.
File
- vendor/
symfony/ http-foundation/ 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\MimeTypeCode
public static function isSupported() {
return '\\' !== DIRECTORY_SEPARATOR && function_exists('passthru') && function_exists('escapeshellarg');
}