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

ConstantVisibilityTypeValue
API_VALIDpublicstring’api.configuration.valid’
API_CONFIG_RENEWALpublicstring’api.configuration.config’
CONFIG_COMPLETEpublicstring’api.configuration.complete’
CACHE_HANDLERpublicstring’api.cache_handler’
CLIENTpublicstring’api.client’
CONFIGpublicstring’api.configuration’
CLIENT_IDpublicstring’api.client_id’
CLIENT_SECRETpublicstring’api.client_secret’
ACCESS_TOKENpublicstring’api.access_token’
HOSTpublicstring’api.host’
FACTORYpublicstring’api.factory’
TIMEOUTpublicstring’api.timeout’
HEADERSpublicstring’api.headers’

Methods

register

Register api client container

public register(\Pimple\Container $container): mixed

Parameters:

ParameterTypeDescription
$container\Pimple\Container


Automatically generated on 2025-01-21