class Package

Class Package

Methods

__construct(string $projectId, string $apiKey, Client $httpClient)

Constructor.

string
getProjectId()

Get the project ID.

string
getApiKey()

Get the API key.

Client
getHttpClient()

Get the HTTP client object.

string
getBasePath(string $action)

Get the base path for the command including an action.

Details

at line 45
__construct(string $projectId, string $apiKey, Client $httpClient)

Constructor.

Parameters

string $projectId The project ID.
string $apiKey The API key
Client $httpClient The HTTP client object.

at line 57
protected string getProjectId()

Get the project ID.

Return Value

string

at line 67
protected string getApiKey()

Get the API key.

Return Value

string

at line 77
protected Client getHttpClient()

Get the HTTP client object.

Return Value

Client

at line 89
protected string getBasePath(string $action)

Get the base path for the command including an action.

Parameters

string $action The action to perform.

Return Value

string