메소드 | 설명 | |
---|---|---|
__call ( string $name, array $arguments = null ) : |
Return an instance of a Resource based on the method called. | |
__construct ( array $config = [], |
C O N S T R U C T O R ( ^_^)y | |
create ( string $api_key = null, |
Create an instance of the service with an API key. | |
createWithToken ( string $token, |
Create an instance of the service with an Oauth token. |
public __construct ( array $config = [], |
||
$config | array | An array of configurations. You need at least the 'key'. |
$client |
static public createWithToken ( string $token, |
||
$token | string | Hubspot oauth access token. |
$client | An Http client. | |
리턴 | static |