interface FileMediaFormatterInterface (View source)

Defines getter methods for FileMediaFormatterBase.

This interface is used on the FileMediaFormatterBase class to ensure that each file media formatter will be based on a media type.

Abstract classes are not able to implement abstract static methods, this interface will work around that.

Methods

static string
getMediaType()

Gets the applicable media type for a formatter.

Details

static string getMediaType()

Gets the applicable media type for a formatter.

Return Value

string

The media type of this formatter.