Model
RedirectDataCacheSerializer
Magento\Store\Model\StoreSwitcher\RedirectDataCacheSerializer
What it does
This class handles secure serialization and deserialization of store switcher redirect data using cache storage.
Developers use it when implementing store switching functionality to temporarily store redirect parameters (like customer data, cart info) during the switch between different store views, ensuring data is passed securely without exposing it in URLs.
Public Methods
- serialize()
- unserialize()