In Sylius 1.11 the service sylius.api.context.user is replaced by Sylius\Bundle\ApiBundle\Context\UserContextInterface (see https://github.com/Sylius/Sylius/blob/master/UPGRADE-API-1.11.md). Because we don't have Sylius requirements in our composer.json, my suggestion is to define the service sylius.api.context.user if it doesn't exist and alias it to Sylius\Bundle\ApiBundle\Context\UserContextInterface
In Sylius 1.11 the service
sylius.api.context.user
is replaced bySylius\Bundle\ApiBundle\Context\UserContextInterface
(see https://github.com/Sylius/Sylius/blob/master/UPGRADE-API-1.11.md). Because we don't have Sylius requirements in ourcomposer.json
, my suggestion is to define the servicesylius.api.context.user
if it doesn't exist and alias it toSylius\Bundle\ApiBundle\Context\UserContextInterface