Class ResourceGeneric
Represents a generic resource.
-
Docta\MercadoLibre\OAuth2\Client\ResourceGeneric
uses
League\OAuth2\Client\Tool\ArrayAccessorTrait
Methods summary
public
|
#
__construct( array $response = [] )
Creates new resource
Parameters
|
public
mixed
|
#
get( string $key )
Returns a value by key using dot notation
Returns a value by key using dot notation
Parameters
Returns
mixed The value
|
public
array
|
#
toArray( )
Return all data of the resource as an array.
Return all data of the resource as an array.
Returns
array The response converted into an array
|