PHP 클래스 SevenShores\Hubspot\Factory

파일 보기 프로젝트 열기: fungku/hubspot-php

공개 메소드들

메소드 설명
__call ( string $name, array $arguments = null ) : Resource Return an instance of a Resource based on the method called.
__construct ( array $config = [], Client $client = null ) C O N S T R U C T O R ( ^_^)y
create ( string $api_key = null, Client $client = null ) : static Create an instance of the service with an API key.
createWithToken ( string $token, Client $client = null ) : static Create an instance of the service with an Oauth token.

메소드 상세

__call() 공개 메소드

Return an instance of a Resource based on the method called.
public __call ( string $name, array $arguments = null ) : Resource
$name string
$arguments array
리턴 SevenShores\Hubspot\Resources\Resource

__construct() 공개 메소드

C O N S T R U C T O R ( ^_^)y
public __construct ( array $config = [], Client $client = null )
$config array An array of configurations. You need at least the 'key'.
$client SevenShores\Hubspot\Http\Client

create() 정적인 공개 메소드

Create an instance of the service with an API key.
static public create ( string $api_key = null, Client $client = null ) : static
$api_key string Hubspot API key.
$client SevenShores\Hubspot\Http\Client An Http client.
리턴 static

createWithToken() 정적인 공개 메소드

Create an instance of the service with an Oauth token.
static public createWithToken ( string $token, Client $client = null ) : static
$token string Hubspot oauth access token.
$client SevenShores\Hubspot\Http\Client An Http client.
리턴 static