class Crowdin

Class for interacting with Crowdin.

Methods

__construct(string $projectId, string $apiKey, string $baseUri = 'https://api.crowdin.com/api/', Client $client = null)

Constructor.

Object
__get(string $name)

Magic method to lazily create API objects.

Details

at line 56
__construct(string $projectId, string $apiKey, string $baseUri = 'https://api.crowdin.com/api/', Client $client = null)

Constructor.

Parameters

string $projectId The project ID.
string $apiKey The API key
string $baseUri The base URI
Client $client The HTTP client object.

at line 74
Object __get(string $name)

Magic method to lazily create API objects.

Parameters

string $name Name of property to retrieve

Return Value

Object

Exceptions

InvalidArgumentException If $name is not a valid sub class.