eZPublishCommunityProject  2012.12
eZ\Publish\Core\REST\Common\Message Class Reference

Simple response struct. More...

Public Member Functions

 __construct (array $headers=array(), $body= '', $statusCode=200)
 Construct from headers and body. More...
 

Public Attributes

 $body
 
 $headers
 
 $statusCode
 

Detailed Description

Simple response struct.

Constructor & Destructor Documentation

eZ\Publish\Core\REST\Common\Message::__construct ( array  $headers = array(),
  $body = '',
  $statusCode = 200 
)

Construct from headers and body.

Parameters
array$headers
string$body
int$statusCode

Member Data Documentation

eZ\Publish\Core\REST\Common\Message::$body
eZ\Publish\Core\REST\Common\Message::$headers
eZ\Publish\Core\REST\Common\Message::$statusCode

The documentation for this class was generated from the following file: