Log in
Model

Config

Magento\Persistent\Model\Persistent\Config

What it does

This class manages the persistent shopping cart configuration in Magento 2.

It reads and parses XML configuration files that define which blocks and methods should be executed to maintain customer session data across visits.

Developers use this when customizing persistent cart behavior or adding new blocks that need to persist customer information.

Public Methods

  • setConfigFilePath()
  • getBlockConfigInfo()
  • collectInstancesToEmulate()
  • fire()
  • fireOne()