PHP Interface Sonata\Exporter\Writer\TypedWriterInterface

Author: Grégoire Paris ([email protected])
Inheritance: extends Sonata\Exporter\Writer\WriterInterface
Afficher le fichier Open project: sonata-project/exporter

Méthodes publiques

Méthode 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 méthode

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

getFormat() public méthode

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