Overview

Namespaces

  • Docta
    • MercadoLibre
      • OAuth2
        • Client
  • GuzzleHttp
    • Cookie
    • Exception
    • Handler
    • Promise
    • Psr7
  • League
    • OAuth2
      • Client
        • Grant
          • Exception
        • Provider
          • Exception
        • Token
        • Tool
  • Psr
    • Http
      • Message

Classes

  • Provider
  • ResourceGeneric
  • ResourceOwner
  • Overview
  • Namespace
  • Class
  • Download

Class ResourceGeneric

Represents a generic resource.

Docta\MercadoLibre\OAuth2\Client\ResourceGeneric uses League\OAuth2\Client\Tool\ArrayAccessorTrait

Direct known subclasses

Docta\MercadoLibre\OAuth2\Client\ResourceOwner
Namespace: Docta\MercadoLibre\OAuth2\Client
Located at ResourceGeneric.php
Methods summary
public
# __construct( array $response = [] )

Creates new resource

Creates new resource

Parameters

$response
The response
public mixed
# get( string $key )

Returns a value by key using dot notation

Returns a value by key using dot notation

Parameters

$key
The key to look

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
Properties summary
protected array $response
#
MercadoLibre Provider for OAuth 2.0 Client API documentation generated by ApiGen