当我启动这个命令
php bin/console security:encode-password
我收到此错误
There are no configured encoders for the "security" extension.
有人知道这个错误吗,我在 bundles.php 中使用 Symfony 4 我激活了安全包
Symfony\Bundle\SecurityBundle\SecurityBundle::class => ['all' => true],
有人有想法吗?提前致谢