Property | Type | Description | |
---|---|---|---|
$types | array | We uniquely identify & index image types by their mime type, these are the ones supported. |
Method | Description | |
---|---|---|
getExtensionForMimeType ( string $mimeType ) : string | Returns the correct extension for a mime type. | |
getTypes ( ) |
public static getExtensionForMimeType ( string $mimeType ) : string | ||
$mimeType | string | |
return | string |
protected static array $types | ||
return | array |