Symfony\Component\HttpFoundation\File\MimeType\FileBinaryMimeTypeGuesser::__construct
Constructor.
The $cmd pattern must contain a "%s" string that will be replaced with the file name to guess. The command output must start with the mime type of the file.
Signature
public function __construct([string
$cmd = 'file -b --mime %s 2>/dev/null'] )
Parameters
$cmd
— string- The command to run to get the mime type of a file