Log in
Model

RandomKey

Magento\PageBuilder\Model\Session\RandomKey

What it does

This class generates and manages a random key stored in the user's session, primarily used as a cache key suffix for PageBuilder configuration.

It ensures the same random key persists throughout the session by retrieving it from session storage or generating a new one if it doesn't exist.

Developers use this to create unique session-based identifiers that help with cache management and preventing conflicts between different user sessions.

Public Methods

  • getValue()