BaseObject
class BaseObject extends Collection (View source)
Class BaseObject.
Methods
__construct(
array|mixed $data)
Builds collection entity.
array
relations()
Property relations.
mixed|BaseObject
get(
mixed $key,
mixed $default = null)
Get an item from the collection by key.
array|void
mapRelatives()
Map property relatives to appropriate objects.
array|mixed
getRawResponse()
Returns raw response.
mixed
getRawResult($data)
Returns raw result.
mixed
getStatus()
Get Status of request.
mixed
__call($name, $arguments)
Magic method to get properties dynamically.
Details
at line 17
__construct(
array|mixed $data)
Builds collection entity.
at line 29
abstract
array
relations()
Property relations.
at line 39
mixed|BaseObject
get(
mixed $key,
mixed $default = null)
Get an item from the collection by key.
at line 53
array|void
mapRelatives()
Map property relatives to appropriate objects.
at line 83
array|mixed
getRawResponse()
Returns raw response.
at line 95
mixed
getRawResult($data)
Returns raw result.
at line 105
mixed
getStatus()
Get Status of request.
at line 118
mixed
__call($name, $arguments)
Magic method to get properties dynamically.