MimeTypeCompatibilityTypeGuesser

Read onlyYes
FinalYes

Map text/plain to concrete mime types, based on their supplied file extension.

This mapping is only allowed for text/plain

Internal

Table of Contents

Methods

__construct()  : mixed
getMimeTypeCompatibilityList()  : array<string|int, mixed>
guessMimeType()  : void

Methods

getMimeTypeCompatibilityList()

public getMimeTypeCompatibilityList() : array<string|int, mixed>
Return values
array<string|int, mixed>

guessMimeType()

public guessMimeType(array<string|int, mixed> &$parameters, SplFileInfo $fileInfo) : void
Parameters
$parameters : array<string|int, mixed>
$fileInfo : SplFileInfo

        
On this page

Search results