PHP Class TippingCanoe\Imager\Mime

Datei anzeigen Open project: tippingcanoe/imager Class Usage Examples

Protected Properties

Property Type Description
$types array We uniquely identify & index image types by their mime type, these are the ones supported.

Public Methods

Method Description
getExtensionForMimeType ( string $mimeType ) : string Returns the correct extension for a mime type.
getTypes ( )

Method Details

getExtensionForMimeType() public static method

Returns the correct extension for a mime type.
public static getExtensionForMimeType ( string $mimeType ) : string
$mimeType string
return string

getTypes() public static method

public static getTypes ( )

Property Details

$types protected_oe static_oe property

We uniquely identify & index image types by their mime type, these are the ones supported.
protected static array $types
return array