INCONCLUSIVE_MIME_TYPES INCONCLUSIVE_MIME_TYPES = ['application/x-empty', 'text/plain', 'text/x-asm']
$extensionMap $extensionMap : \League\MimeTypeDetection\ExtensionToMimeTypeMap Type ExtensionToMimeTypeMap —
__construct() __construct(string $magicFile = '', \League\MimeTypeDetection\ExtensionToMimeTypeMap $extensionMap = null, ?int $bufferSampleSize = null) : mixed Parameters string $magicFile \League\MimeTypeDetection\ExtensionToMimeTypeMap $extensionMap ?int $bufferSampleSize 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 —