RedirectDataSerializerInterface
Magento\Store\Model\StoreSwitcher\RedirectDataSerializerInterface
What it does
This interface defines methods for serializing and unserializing data during store view switching in Magento 2.
Developers use implementations of this interface to safely pass redirect data between different store views when customers switch stores, ensuring data integrity and security during the store switching process.
It's particularly useful when you need to preserve customer context or session data across store boundaries.
Public Methods
- serialize()
- unserialize()