Skip to content

Commit

Permalink
Add raw data serializer key
Browse files Browse the repository at this point in the history
  • Loading branch information
webeweb committed May 6, 2022
1 parent cb295a4 commit adf9736
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/serializer/SerializerKeys.php
Original file line number Diff line number Diff line change
Expand Up @@ -845,6 +845,13 @@ interface SerializerKeys {
*/
const RATE = "rate";

/**
* Serializer key "raw data".
*
* @var string
*/
const RAW_DATA = "rawData";

/**
* Serializer key "raw response".
*
Expand Down
1 change: 1 addition & 0 deletions tests/serializer/SerializerKeysTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ public function test__construct(): void {
$this->assertEquals("quantity", SerializerKeys::QUANTITY);
$this->assertEquals("query", SerializerKeys::QUERY);
$this->assertEquals("rate", SerializerKeys::RATE);
$this->assertEquals("rawData", SerializerKeys::RAW_DATA);
$this->assertEquals("rawResponse", SerializerKeys::RAW_RESPONSE);
$this->assertEquals("ready", SerializerKeys::READY);
$this->assertEquals("reference", SerializerKeys::REFERENCE);
Expand Down

0 comments on commit adf9736

Please sign in to comment.