Zend Framework  3.0
Public Member Functions | Protected Attributes | List of all members
Response Class Reference

Public Member Functions

 contentSent ()
 Check if content was sent.
 
 setErrorLevel ($errorLevel)
 Set the error level that will be returned to shell.
 
 getErrorLevel ()
 Get response error level that will be returned to shell.
 
 sendContent ()
 Send content.
 
 send ()
 
- Public Member Functions inherited from Message
 setMetadata ($spec, $value=null)
 Set message metadata.
 
 getMetadata ($key=null, $default=null)
 Retrieve all metadata or a single metadatum as specified by key.
 
 setContent ($value)
 Set message content.
 
 getContent ()
 Get message content.
 
 toString ()
 
- Public Member Functions inherited from MessageInterface
 getMetadata ($key=null)
 Get metadata.
 

Protected Attributes

 $contentSent = false
 
- Protected Attributes inherited from Message
 $metadata = []
 
 $content = ''
 

Member Function Documentation

contentSent ( )

Check if content was sent.

Returns
bool
Deprecated:
getErrorLevel ( )

Get response error level that will be returned to shell.

Returns
int|0
send ( )
sendContent ( )

Send content.

Returns
Response
Deprecated:
setErrorLevel (   $errorLevel)

Set the error level that will be returned to shell.

Parameters
int$errorLevel
Returns
Response

Member Data Documentation

$contentSent = false
protected