class TextExporter extends Plugin implements ExporterInterface

Text Exporter

Translates content to plain text.

Methods

string
getType()

Return type

string
getContentType()

Return mime type

string
export(Content $content)

Return properly plain text document. Will throw Ceo\Exceptions\ExportException on failure.

string
__toString()

Return export as text

Details

at line line 26
string getType()

Return type

Return Value

string

at line line 35
string getContentType()

Return mime type

Return Value

string

at line line 47
string export(Content $content)

Return properly plain text document. Will throw Ceo\Exceptions\ExportException on failure.

Parameters

Content $content

Return Value

string

Exceptions

ExportException

at line line 92
string __toString()

Return export as text

Return Value

string