From f5f64e1b3ea06304a96639f9de74bb5ac9608b6c Mon Sep 17 00:00:00 2001 From: Jerzy Zawadzki Date: Wed, 27 Nov 2019 23:27:50 +0100 Subject: [PATCH] Changed names of Intl classes in form types docs --- reference/forms/types/country.rst | 2 +- reference/forms/types/currency.rst | 2 +- reference/forms/types/language.rst | 2 +- reference/forms/types/locale.rst | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/reference/forms/types/country.rst b/reference/forms/types/country.rst index dbf2a87cc5b..da066decbb9 100644 --- a/reference/forms/types/country.rst +++ b/reference/forms/types/country.rst @@ -70,7 +70,7 @@ Overridden Options choices ~~~~~~~ -**default**: ``Symfony\Component\Intl\Intl::getRegionBundle()->getCountryNames()`` +**default**: ``Symfony\Component\Intl\Countries::getNames()`` The country type defaults the ``choices`` option to the whole list of countries. The locale is used to translate the countries names. diff --git a/reference/forms/types/currency.rst b/reference/forms/types/currency.rst index 83fdafa4e17..9921baa75d9 100644 --- a/reference/forms/types/currency.rst +++ b/reference/forms/types/currency.rst @@ -62,7 +62,7 @@ Overridden Options choices ~~~~~~~ -**default**: ``Symfony\Component\Intl\Intl::getCurrencyBundle()->getCurrencyNames()`` +**default**: ``Symfony\Component\Intl\Currencies::getNames()`` The choices option defaults to all currencies. diff --git a/reference/forms/types/language.rst b/reference/forms/types/language.rst index 7aee017fcce..9a751ecc4af 100644 --- a/reference/forms/types/language.rst +++ b/reference/forms/types/language.rst @@ -72,7 +72,7 @@ Overridden Options choices ~~~~~~~ -**default**: ``Symfony\Component\Intl\Intl::getLanguageBundle()->getLanguageNames()``. +**default**: ``Symfony\Component\Intl\Languages::getNames()``. The choices option defaults to all languages. The default locale is used to translate the languages names. diff --git a/reference/forms/types/locale.rst b/reference/forms/types/locale.rst index 6afaddd6250..2ff8e24ce51 100644 --- a/reference/forms/types/locale.rst +++ b/reference/forms/types/locale.rst @@ -73,7 +73,7 @@ Overridden Options choices ~~~~~~~ -**default**: ``Symfony\Component\Intl\Intl::getLocaleBundle()->getLocaleNames()`` +**default**: ``Symfony\Component\Intl\Locales::getNames()`` The choices option defaults to all locales. It uses the default locale to specify the language. pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy