Log in
Model

SchemaLocator

Magento\Csp\Model\Collector\CspWhitelistXml\SchemaLocator

What it does

This class provides the location of the XSD schema file used to validate CSP (Content Security Policy) whitelist XML configuration files.

Developers use this when the system needs to validate csp_whitelist.xml files in modules to ensure they follow the correct structure and rules defined in the schema.

Public Methods

  • getSchema()
  • getPerFileSchema()