RedirectData
Magento\Store\Model\StoreSwitcher\RedirectData
What it does
This class is a data transfer object (DTO) that holds information needed when redirecting customers between different store views in Magento 2.
It encapsulates the signature for security validation, the actual data being transferred, and a timestamp to prevent replay attacks.
Developers use this when implementing custom store switcher functionality or when needing to securely pass data during store view transitions.
Public Methods
- getSignature()
- getData()
- getTimestamp()