Api
Manages the registration and configuration of the BigCommerce API client and related services.
Registers various services such as API client, cache handler, and configuration.
- Full name:
\BigCommerce\Container\Api
- Parent class:
Provider
Constants
Constant | Visibility | Type | Value |
---|---|---|---|
API_VALID | public | string | ’api.configuration.valid’ |
API_CONFIG_RENEWAL | public | string | ’api.configuration.config’ |
CONFIG_COMPLETE | public | string | ’api.configuration.complete’ |
CACHE_HANDLER | public | string | ’api.cache_handler’ |
CLIENT | public | string | ’api.client’ |
CONFIG | public | string | ’api.configuration’ |
CLIENT_ID | public | string | ’api.client_id’ |
CLIENT_SECRET | public | string | ’api.client_secret’ |
ACCESS_TOKEN | public | string | ’api.access_token’ |
HOST | public | string | ’api.host’ |
FACTORY | public | string | ’api.factory’ |
TIMEOUT | public | string | ’api.timeout’ |
HEADERS | public | string | ’api.headers’ |
Methods
register
Register api client container
public register(\Pimple\Container $container): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$container | \Pimple\Container |
Automatically generated on 2025-01-21