implements |
ArrayAccess |
---|
Represent API call result
This class allows to access API answer fields either as associative array elements and as class properties.
Methods | ||
---|---|---|
public
|
__construct(array $result)
|
# |
public
|
asArray(): array
|
# |
public
|
offsetExists($offset): bool
|
# |
public
|
offsetGet($offset)
|
# |
public
|
offsetSet($offset, $value): void
|
# |
public
|
offsetUnset($offset): void
|
# |
public
|
__get($name)
|
# |
public
|
__isset($name)
|
# |
public
|
__set($name, $value)
|
# |
public
|
__unset($name)
|
# |
Properties | |||
---|---|---|---|
protected
|
array
|
$result
|
# |