ClassesBigCommerceContainerRewrites

Rewrites

Handles rewrite rules and flushing mechanisms for the BigCommerce container.

Registers services and hooks to manage custom rewrite rules, flushing permalinks, and handling requests via custom endpoints.

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

Constants

ConstantVisibilityTypeValue
ACTION_ENDPOINTpublicstring’rewrites.action_endpoint’
FLUSHpublicstring’rewrites.flush’

Methods

register

Registers rewrite-related services and hooks in the container.

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

Services include:

  • Action endpoint for managing custom route registration and requests.
  • Flusher for handling permalink flush operations.

Parameters:

ParameterTypeDescription
$container\Pimple\ContainerThe DI container for registering services.


Automatically generated on 2025-01-21