Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf5f64e1

Browse files
jzawadzkiOskarStark
authored andcommitted
Changed names of Intl classes in form types docs
1 parentf3bb355 commitf5f64e1

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

‎reference/forms/types/country.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Overridden Options
7070
choices
7171
~~~~~~~
7272

73-
**default**: ``Symfony\Component\Intl\Intl::getRegionBundle()->getCountryNames()``
73+
**default**: ``Symfony\Component\Intl\Countries::getNames()``
7474

7575
The country type defaults the ``choices`` option to the whole list of countries.
7676
The locale is used to translate the countries names.

‎reference/forms/types/currency.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Overridden Options
6262
choices
6363
~~~~~~~
6464

65-
**default**: ``Symfony\Component\Intl\Intl::getCurrencyBundle()->getCurrencyNames()``
65+
**default**: ``Symfony\Component\Intl\Currencies::getNames()``
6666

6767
The choices option defaults to all currencies.
6868

‎reference/forms/types/language.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Overridden Options
7272
choices
7373
~~~~~~~
7474

75-
**default**: ``Symfony\Component\Intl\Intl::getLanguageBundle()->getLanguageNames()``.
75+
**default**: ``Symfony\Component\Intl\Languages::getNames()``.
7676

7777
The choices option defaults to all languages.
7878
The default locale is used to translate the languages names.

‎reference/forms/types/locale.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Overridden Options
7373
choices
7474
~~~~~~~
7575

76-
**default**: ``Symfony\Component\Intl\Intl::getLocaleBundle()->getLocaleNames()``
76+
**default**: ``Symfony\Component\Intl\Locales::getNames()``
7777

7878
The choices option defaults to all locales. It uses the default locale to
7979
specify the language.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp