Question

I'm trying to figure out the best way to interact with the Customer session using the service layer. I couldn't identify the proper repository to use. Any ideas?

Was it helpful?

Solution

Unfortunately, at the moment, there's no implementation of the Customer Session via the Service Contracts.

I'm afraid you'll have to stick to the Magento\Customer\Model\Session class to achieve what you want.

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top