@@ -163,14 +163,14 @@ component offers a rich integration.
163
163
164
164
To use the integration, you'll need the ``TwigBridge ``, which provides integration
165
165
between Twig and several Symfony components. If you're using Composer, you
166
- could install the latest 2.3 version by adding the following ``require ``
166
+ could install the latest 3.x version by adding the following ``require ``
167
167
line to your ``composer.json `` file:
168
168
169
169
.. code-block :: json
170
170
171
171
{
172
172
"require" : {
173
- "symfony/twig-bridge" : " 2.3.* "
173
+ "symfony/twig-bridge" : " ~3.0 "
174
174
}
175
175
}
176
176
@@ -243,15 +243,15 @@ via your own Twig extension.
243
243
244
244
To use the built-in integration, be sure that your project has Symfony's
245
245
Translation and :doc: `Config </components/config/introduction >` components
246
- installed. If you're using Composer, you could get the latest 2.3 version
246
+ installed. If you're using Composer, you could get the latest 3.x version
247
247
of each of these by adding the following to your ``composer.json `` file:
248
248
249
249
.. code-block :: json
250
250
251
251
{
252
252
"require" : {
253
- "symfony/translation" : " 2.3.* " ,
254
- "symfony/config" : " 2.3.* "
253
+ "symfony/translation" : " ~3.0 " ,
254
+ "symfony/config" : " ~3.0 "
255
255
}
256
256
}
257
257
@@ -295,13 +295,13 @@ array or object) and pass it through your own validation system.
295
295
296
296
To use the integration with Symfony's Validator component, first make sure
297
297
it's installed in your application. If you're using Composer and want to
298
- install the latest 2.3 version, add this to your ``composer.json ``:
298
+ install the latest 3.x version, add this to your ``composer.json ``:
299
299
300
300
.. code-block :: json
301
301
302
302
{
303
303
"require" : {
304
- "symfony/validator" : " 2.3.* "
304
+ "symfony/validator" : " ~3.0 "
305
305
}
306
306
}
307
307
0 commit comments