Skip to content

Commit 91f9cbf

Browse files
committed
minor #9592 class attribute still needed in some cases (florian987)
This PR was squashed before being merged into the 3.4 branch (closes #9592). Discussion ---------- class attribute still needed in some cases The class attribute is still needed for non namespaced classes like Twig_Extensions_Extension_Intl <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- cb0ee3b class attribute still needed in some cases
2 parents 2561214 + cb0ee3b commit 91f9cbf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

reference/dic_tags.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1263,7 +1263,7 @@ also have to be added as regular services:
12631263
.. code-block:: yaml
12641264
12651265
services:
1266-
Twig_Extensions_Extension_Intl:
1266+
Twig\Extensions\IntlExtension:
12671267
tags: [twig.extension]
12681268
12691269
.. code-block:: xml
@@ -1275,7 +1275,7 @@ also have to be added as regular services:
12751275
http://symfony.com/schema/dic/services/services-1.0.xsd">
12761276
12771277
<services>
1278-
<service id="Twig_Extensions_Extension_Intl">
1278+
<service id="Twig\Extensions\IntlExtension">
12791279
<tag name="twig.extension" />
12801280
</service>
12811281
</services>
@@ -1284,7 +1284,7 @@ also have to be added as regular services:
12841284
.. code-block:: php
12851285
12861286
$container
1287-
->register('Twig_Extensions_Extension_Intl')
1287+
->register('Twig\Extensions\IntlExtension')
12881288
->addTag('twig.extension')
12891289
;
12901290

0 commit comments

Comments
 (0)