PHP Interface Sonata\Exporter\Writer\TypedWriterInterface

Author: Grégoire Paris ([email protected])
Inheritance: extends Sonata\Exporter\Writer\WriterInterface
ファイルを表示 Open project: sonata-project/exporter

Public Methods

Method Description
getDefaultMimeType ( ) : string There can be several mime types for a given format, this method should return the most appopriate / popular one.
getFormat ( ) : string Returns a string best describing the format of the output (the file extension is fine, for example).

Method Details

getDefaultMimeType() public method

There can be several mime types for a given format, this method should return the most appopriate / popular one.
public getDefaultMimeType ( ) : string
return string the mime type of the output

getFormat() public method

Returns a string best describing the format of the output (the file extension is fine, for example).
public getFormat ( ) : string
return string a string without spaces, usable in a translation string