\Ceo\Core\ExportersExporterInterface

Export interface

Summary

Methods
Constants
getType()
getContentType()
export()
__toString()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

getType()

getType() : string

getType returns a string type for the exporter, e.g. 'icml'

Returns

string

getContentType()

getContentType() : string

getContentType returns a string for MIME type, e.g 'application/xml'

Returns

string

export()

export(\Ceo\Core\Models\Content  $content) : string

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.

Parameters

\Ceo\Core\Models\Content $content

Returns

string

__toString()

__toString() : string

Return export as string

Returns

string