Class

eZ\Publish\Core\REST\Common\Message

class Message

Simple response struct.

Properties

array $headers Response headers.
string $body Response body.
int $statusCode HTTP status code.

Methods

__construct(array $headers = array(), string $body = '', int $statusCode = 200)

Construct from headers and body.

Details

at line 44
public __construct(array $headers = array(), string $body = '', int $statusCode = 200)

Construct from headers and body.

Parameters

array $headers
string $body
int $statusCode