Log in
Factory

LayoutCacheTagResolverFactory

Magento\Theme\Model\LayoutCacheTagResolverFactory

What it does

This factory class creates and returns appropriate cache tag resolver strategies for layout objects in Magento 2.

Developers use it to obtain the correct strategy for generating cache tags based on an object's type, supporting the layout caching system by matching objects to their configured resolver through class hierarchy inspection.

Public Methods

  • getStrategy()