Log in
Model

FileResolver

Magento\Csp\Model\Collector\CspWhitelistXml\FileResolver

What it does

This class resolves and combines CSP (Content Security Policy) whitelist XML configuration files from both modules and the current theme hierarchy.

Developers use this when the system needs to load csp_whitelist.xml files, as it ensures theme-specific CSP configurations are merged with module configurations, respecting theme inheritance from parent to child themes.

Public Methods

  • get()