ClientInterface
interface ClientInterface
Methods
Sends a request to the API, and returns a resource object.
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 41
                            
    useApplication(ApplicationInterface $application)
        
    
    Sets the current application.
The values are used as part of the X-Contentful-User-Agent header.
        at         line 52
                            
    setApplication(string $name, string $version = '')
        deprecated
    
    deprecated
Set the application name and version.
The values are used as part of the X-Contentful-User-Agent header.
        at         line 60
                            
    useIntegration(IntegrationInterface $integration)
        
    
    Sets the current integration.
The values are used as part of the X-Contentful-User-Agent header.
        at         line 71
                            
    setIntegration(string $name, string $version = '')
        deprecated
    
    deprecated
Set the integration name and version.
The values are used as part of the X-Contentful-User-Agent header.
        at         line 78
                            string
    getApi()
        
    
    Returns a string representation of the API currently in use.