CliRenderer

Extends AbstractRenderer

Cli error renderer

since

4.0.0

package

Joomla CMS

Methods

getDocument

Retrieve the Document instance attached to this renderer

getDocument() : \Joomla\CMS\Document\Document
inherited
since

4.0.0

Response

Document

getRenderer

Get a renderer instance for the given type

getRenderer( type) : 
inherited static
since

4.0.0

throws

InvalidArgumentException

Arguments

type

stringThe type of renderer to fetch

Response

static

getTrace

Returns a trace for the given error.

getTrace(\Throwable error) : 
since

4.0.0

Arguments

error

ThrowableThe error

Response

string

loadDocument

Create the Document object for this renderer

loadDocument() : \Joomla\CMS\Document\Document
inherited
since

4.0.0

Response

Document

render

Render the error for the given object.

render(\Throwable error) : 
since

4.0.0

Arguments

error

ThrowableThe error object to be rendered

Response

string

Properties

document

The Document instance

inherited
since

4.0.0

Type(s)

Document

type

The format (type)

since

4.0.0

Type(s)

string