Log in
Model

CompositeMerger

Magento\Csp\Model\Collector\CompositeMerger

What it does

This class acts as a coordinator for merging Content Security Policy (CSP) configurations by delegating the work to specialized merger implementations.

Developers use this when multiple CSP policies need to be combined, and it automatically selects the appropriate merger based on the policy types being merged.

Public Methods

  • merge()
  • canMerge()