Skip to content

Commit 209a876

Browse files
committed
Add method to get additional fields from base object
1 parent 72c32fa commit 209a876

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/DataObjects/BaseObject.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,16 @@ public function __construct($data = [])
2929
}
3030
}
3131

32+
/**
33+
* Get Additional Fields.
34+
*
35+
* @return array
36+
*/
37+
public function getAdditionalFields()
38+
{
39+
return $this->additional_fields;
40+
}
41+
3242
/**
3343
* Get Raw Headers from Http Response.
3444
*

0 commit comments

Comments
 (0)