File tree 5 files changed +11
-10
lines changed
5 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ test the core types and you can use it to test your types too.
23
23
.. versionadded :: 2.3
24
24
The ``TypeTestCase `` has moved to the ``Symfony\Component\Form\Test ``
25
25
namespace in 2.3. Previously, the class was located in
26
- ``Symfony\Component\Form\Tests\Core\ Extension\Type ``.
26
+ ``Symfony\Component\Form\Tests\Extension\Core \Type ``.
27
27
28
28
The Basics
29
29
----------
Original file line number Diff line number Diff line change @@ -157,10 +157,11 @@ your code. This should also be taken into account when declaring your service:
157
157
<services >
158
158
<service id =" greeting_card_manager"
159
159
class =" Acme\HelloBundle\Mail\GreetingCardManager"
160
- />
161
- <call method =" setRequest" >
162
- <argument type =" service" id =" request" on-invalid =" null" strict =" false" />
163
- </call >
160
+ >
161
+ <call method =" setRequest" >
162
+ <argument type =" service" id =" request" on-invalid =" null" strict =" false" />
163
+ </call >
164
+ </service >
164
165
</services >
165
166
166
167
.. code-block :: php
Original file line number Diff line number Diff line change 2
2
single: Sessions
3
3
4
4
Bridge a legacy application with Symfony Sessions
5
- -------------------------------------------------
5
+ =================================================
6
6
7
7
.. versionadded :: 2.3
8
8
The ability to integrate with a legacy PHP session was added in Symfony 2.3.
Original file line number Diff line number Diff line change @@ -50,8 +50,8 @@ choices
50
50
51
51
**default **: ``Symfony\Component\Intl\Intl::getRegionBundle()->getCountryNames() ``
52
52
53
- The country type defaults the ``choices `` option to the all locales .
54
- It uses the default locale to determine the language .
53
+ The country type defaults the ``choices `` option to the whole list of countries .
54
+ The locale is used to translate the countries names .
55
55
56
56
Inherited options
57
57
-----------------
Original file line number Diff line number Diff line change @@ -51,8 +51,8 @@ choices
51
51
52
52
**default **: ``Symfony\Component\Intl\Intl::getLanguageBundle()->getLanguageNames() ``.
53
53
54
- The choices option defaults to all languages. It uses the default locale to
55
- specify the language .
54
+ The choices option defaults to all languages.
55
+ The default locale is used to translate the languages names .
56
56
57
57
Inherited Options
58
58
-----------------
You can’t perform that action at this time.
0 commit comments