Class Brightzone\GremlinDriver\RequestMessage

InheritanceBrightzone\GremlinDriver\RequestMessage
ImplementsJsonSerializable

Class RequestMessage The frame object that we use to make requests to the server.

This class allows us to specify different serializing for this class. It's a glorified map.

Method Details

__construct() public method

Overriding construct to populate data

public void __construct ( $data )
$data array

The data contained in this message

getData() public method

Getter for data

public array getData ( )
return array

The data contained in the RequestMessage

jsonSerialize() public method

The json serialize method

public mixed jsonSerialize ( )
setData() public method

Setter for data

public void setData ( $data )
$data