SetCustomerStore
Magento\Customer\Model\SetCustomerStore
What it does
This class sets the current store context for a customer based on their website or store ID.
Developers would use this when processing customer-related operations that need to execute within the correct store scope, such as during customer creation, authentication, or when handling customer data from API requests.
It ensures that store-specific configurations and data are properly applied for the customer's associated website or store.
Public Methods
- setStore()