Log in
Model

DataSerializer

Magento\Wishlist\Model\DataSerializer

What it does

This class provides a secure way to temporarily serialize and cache wishlist data using random tokens.

Developers use it to pass complex wishlist data between requests without exposing sensitive information in URLs or forms, with the cached data automatically expiring after 7 days.

Public Methods

  • serialize()
  • unserialize()