$extensions $extensions : \League\MimeTypeDetection\ExtensionToMimeTypeMap Type ExtensionToMimeTypeMap —
__construct() __construct(\League\MimeTypeDetection\ExtensionToMimeTypeMap $extensions = null) : mixed Parameters \League\MimeTypeDetection\ExtensionToMimeTypeMap $extensions Returns mixed —
detectMimeType() detectMimeType(string $path, mixed $contents) : ?string Parameters string $path mixed $contents Returns ?string —
detectMimeTypeFromPath() detectMimeTypeFromPath(string $path) : ?string Parameters string $path Returns ?string —
detectMimeTypeFromFile() detectMimeTypeFromFile(string $path) : ?string Parameters string $path Returns ?string —
detectMimeTypeFromBuffer() detectMimeTypeFromBuffer(string $contents) : ?string Parameters string $contents Returns ?string —