ClientInterface
interface ClientInterface
Methods
request(string $method, string $uri, array $options = [])
Sends a request to the API, and returns a resource object.
setApplication(string $name, string $version = '')
Set the application name and version.
setIntegration(string $name, string $version = '')
Set the integration name and version.
string
getApi()
Returns a string representation of the API currently in use.
Details
at line 33
ResourceInterface
request(string $method, string $uri, array $options = [])
Sends a request to the API, and returns a resource object.
at line 42
setApplication(string $name, string $version = '')
Set the application name and version.
The values are used as part of the X-Contentful-User-Agent header.
at line 51
setIntegration(string $name, string $version = '')
Set the integration name and version.
The values are used as part of the X-Contentful-User-Agent header.
at line 58
string
getApi()
Returns a string representation of the API currently in use.