lithium\net\http\Media::types()
Returns the list of registered media types. New types can be set with the type()
method.
Returns
arrayReturns an array of media type extensions or short-names, which comprise the list of types handled.
Source
public static function types() {
return array_keys(static::_types());
}