Interface
PolicyReaderInterface
Magento\Csp\Model\Collector\Config\PolicyReaderInterface
What it does
This interface defines a contract for reading Content Security Policy (CSP) configurations from Magento's config storage and converting them into policy objects.
Developers implement this interface to create custom policy readers that can interpret different CSP configuration formats and transform them into PolicyInterface instances, enabling the CSP system to understand various configuration value types.
Public Methods
- read()
- canRead()