Log in
Model

PolicyReaderPool

Magento\Csp\Model\Collector\Config\PolicyReaderPool

What it does

This class manages a pool of policy readers for Content Security Policy (CSP) configuration.

Developers use it to retrieve the appropriate reader for a specific CSP policy ID, which is useful when processing different types of CSP configurations from various sources in Magento 2.

Public Methods

  • getReader()