Log in
Interface

MergerInterface

Magento\Csp\Model\Collector\MergerInterface

What it does

This interface defines the contract for merging Content Security Policy (CSP) objects that share the same policy ID.

Developers would implement this interface to create custom merger strategies that consolidate multiple CSP policy declarations into a single policy, ensuring there's only one policy data transfer object per unique policy.

Public Methods

  • merge()
  • canMerge()