Model
SubresourceIntegrityRepositoryPool
Magento\Csp\Model\SubresourceIntegrityRepositoryPool
What it does
This class manages a pool of SubresourceIntegrityRepository instances, creating and caching them based on context (like 'storefront' or 'adminhtml').
Developers use it to retrieve the appropriate repository for managing Subresource Integrity (SRI) hashes for assets in different areas of Magento, ensuring security by validating that external resources haven't been tampered with.
Public Methods
- get()