Proxy

This class registers the proxy container that adds a Wordpress proxy layer on top of the BigCommerce API.

Sets up necessary services such as REST controllers, caching, and AMP cart controllers.

  • Full name: \BigCommerce\Container\Proxy
  • Parent class: Provider

Constants

ConstantVisibilityTypeValue
ACCESSpublicstring’proxy.access’
REST_CONTROLLERpublicstring’proxy.rest_controller’
CACHEpublicstring’proxy.cache’
PROXY_BASEpublicstring’proxy.base’
AMP_CART_CONTROLLERpublicstring’proxy.amp_cart_controller’
CACHE_PRIORITYpublicint10

Methods

register

Registers the container and initializes proxy-related services such as REST controller, cache, and AMP cart controller.

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

Parameters:

ParameterTypeDescription
$container\Pimple\ContainerA container instance.


Automatically generated on 2025-01-21