File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -1263,8 +1263,7 @@ also have to be added as regular services:
1263
1263
.. code-block :: yaml
1264
1264
1265
1265
services :
1266
- Twig_Extensions_Extension_Intl :
1267
- class : Twig_Extensions_Extension_Intl
1266
+ Twig\Extensions\IntlExtension :
1268
1267
tags : [twig.extension]
1269
1268
1270
1269
.. code-block :: xml
@@ -1276,7 +1275,7 @@ also have to be added as regular services:
1276
1275
http://symfony.com/schema/dic/services/services-1.0.xsd" >
1277
1276
1278
1277
<services >
1279
- <service id =" Twig_Extensions_Extension_Intl " class = " Twig_Extensions_Extension_Intl " >
1278
+ <service id =" Twig\Extensions\IntlExtension " >
1280
1279
<tag name =" twig.extension" />
1281
1280
</service >
1282
1281
</services >
@@ -1285,7 +1284,7 @@ also have to be added as regular services:
1285
1284
.. code-block :: php
1286
1285
1287
1286
$container
1288
- ->register('Twig_Extensions_Extension_Intl', Twig_Extensions_Extension_Intl::class )
1287
+ ->register('Twig\Extensions\IntlExtension' )
1289
1288
->addTag('twig.extension')
1290
1289
;
1291
1290
You can’t perform that action at this time.
0 commit comments