Overview

Namespaces

  • Docta
    • MercadoLibre
      • Exception
      • OAuth2
        • Client
          • Test
  • GuzzleHttp
    • Cookie
    • Exception
    • Handler
    • Promise
      • Test
      • Tests
    • Psr7
    • Test
      • Handler
    • Tests
      • CookieJar
      • Event
      • Exception
      • Handler
      • Promise
      • Psr7
  • League
    • OAuth2
      • Client
        • Grant
          • Exception
        • Provider
          • Exception
        • Test
          • Grant
          • Provider
            • Exception
            • Fake
          • Token
          • Tool
        • Token
        • Tool
  • None
  • 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 src/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 PHP SDK API documentation generated by ApiGen