[Symfony\Component\DependencyInjection\Exception\RuntimeException]
Cannot autowire service "AppBundle\Manager\EmailManager": argument "$canonicalizer" of method "__construct()" references interface "FOS\UserBundle\Util\CanonicalizerInterface" but no such service exists. You should maybe alias this interface to the existing "fos_user
.util.canonicalizer.default" service. Did you create a class that implements this interface?
The thing is, we allow configuring different normalizers for the username and the email (even though they use the same default implementation). Which one should we autowire, the email or the username one ?
Example: