Interface
AuthenticationStateInterface
Magento\Wishlist\Model\AuthenticationStateInterface
What it does
This interface defines a contract for checking whether authentication is required for wishlist operations in Magento 2.
Developers use this to determine if users must be logged in to perform wishlist actions, allowing for flexible authentication requirements across different contexts or implementations.
Public Methods
- isEnabled()