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