Interface
VclTemplateLocatorInterface
Magento\PageCache\Model\VclTemplateLocatorInterface
What it does
This interface defines a contract for locating and retrieving Varnish VCL (Varnish Configuration Language) template files based on the Varnish version.
Developers would implement this interface when creating custom VCL template locators or use existing implementations to generate Varnish configuration files for page caching in Magento 2.
Public Methods
- getTemplate()