ExporterInterface
interface ExporterInterface
Export interface
Methods
string
getType()
getType returns a string type for the exporter, e.g. 'icml'
string
getContentType()
getContentType returns a string for MIME type, e.g 'application/xml'
string
string
__toString()
Return export as string
Details
at line line 18
string
getType()
getType returns a string type for the exporter, e.g. 'icml'
at line line 24
string
getContentType()
getContentType returns a string for MIME type, e.g 'application/xml'
at line line 34
string
export(Content $content)
Export accepts a single Content model and returns an exported string representation.
Errors during the export process MUST throw a Ceo\Core\Exceptions\ExportException instance.
at line line 40
string
__toString()
Return export as string