package Default
inherited_from \Zend\Stdlib\Message

 Methods

Check if content was sent

contentSent() : boolean
deprecated

Returns

boolean

Get message content

getContent() : mixed
Inherited
inherited_from \Zend\Stdlib\MessageInterface::getContent()

Returns

mixed

Get response error level that will be returned to shell.

getErrorLevel() : integer

Returns

integer

send()

send() 
deprecated

Send content

sendContent() : \Zend\Console\Response
deprecated

Returns

\Zend\Console\Response

Set message content

setContent(mixed $value) : \Zend\Stdlib\Message
Inherited
inherited_from \Zend\Stdlib\MessageInterface::setContent()

Parameters

$value

mixed

Returns

\Zend\Stdlib\Message

Set the error level that will be returned to shell.

setErrorLevel(integer $errorLevel) : \Zend\Console\Response

Parameters

$errorLevel

integer

Returns

\Zend\Console\Response

toString()

toString() : string
Inherited

Returns

string

 Properties

 

$content

$content : string

Default

''
 

$contentSent

$contentSent : boolean

Default

false