Log in
Model

PolicyRendererPool

Magento\Csp\Model\PolicyRendererPool

What it does

This class manages a pool of policy renderers for Content Security Policy (CSP) headers.

Developers use it to find and retrieve the appropriate renderer for a specific CSP policy object, which then converts the policy into the correct format for HTTP headers.

It's primarily used internally by Magento's CSP system to process and output security policies.

Public Methods

  • getRenderer()