FlagPolicyMerger
Magento\Csp\Model\Collector\FlagPolicyMerger
What it does
This class handles the merging of Content Security Policy (CSP) flag policies in Magento 2.
When multiple flag-type CSP policies need to be combined, this merger simply returns the first policy since flag policies are binary (enabled/disabled) and cannot be meaningfully merged.
Developers working with CSP configurations will encounter this when the system needs to consolidate multiple flag policies from different sources.
Public Methods
- merge()
- canMerge()