diff --git a/reference/dic_tags.rst b/reference/dic_tags.rst index b84e5168b67..a2eebfff930 100644 --- a/reference/dic_tags.rst +++ b/reference/dic_tags.rst @@ -1071,12 +1071,13 @@ the service is auto-registered and auto-tagged. But, you can also register it ma $container ->register(AppExtension::class) ->addTag('twig.extension') - + ; + $container ->register(AnotherExtension::class) ->addTag('twig.extension', array('priority' => -100)) ; -.. versionadded:: +.. versionadded:: 4.1 The ``priority`` attribute of the ``twig.extension`` tag was introduced in Symfony 4.1.