Customer & ShopUser
Customer
How to create a Customer programmatically?
/** @var CustomerInterface $customer */
$customer = $this->container->get('sylius.factory.customer')->createNew();
$customer->setEmail('[email protected]');
$this->container->get('sylius.repository.customer')->add($customer);ShopUser
How to create a ShopUser programmatically?
Changing the ShopUser password
Customer related events
Event id
Description
Last updated
Was this helpful?
