Symfony 4.1 twig extension
问题 In Symfony 4.1 I created an twig extension and I tried to use it as an service twig.extension.active.algos: class: App\Twig\AppExtension public: true tags: - { name: twig.extension, priority: 1024 } Unfortunately I receive 'Unable to register extension "App\Twig\AppExtension" as it is already registered' After many searches I saw that there was a bag in the version of symfony 3.4 but they say the error would have solved. So it's my mistake or just another mistake from symfony team. My