PHP Класс TippingCanoe\Imager\Mime

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$types array We uniquely identify & index image types by their mime type, these are the ones supported.

Открытые методы

Метод Описание
getExtensionForMimeType ( string $mimeType ) : string Returns the correct extension for a mime type.
getTypes ( )

Описание методов

getExtensionForMimeType() публичный статический Метод

Returns the correct extension for a mime type.
public static getExtensionForMimeType ( string $mimeType ) : string
$mimeType string
Результат string

getTypes() публичный статический Метод

public static getTypes ( )

Описание свойств

$types защищенное статическое свойство

We uniquely identify & index image types by their mime type, these are the ones supported.
protected static array $types
Результат array