Skip to content

Commit 4de2dbd

Browse files
committed
[Intl] Remove documentation about deprecated code
1 parent cd5d590 commit 4de2dbd

File tree

1 file changed

+4
-28
lines changed

1 file changed

+4
-28
lines changed

components/intl.rst

Lines changed: 4 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The Intl Component
1111
.. caution::
1212

1313
The replacement layer is limited to the ``en`` locale. If you want to use
14-
other locales, you should `install the intl extension`_. There is no conflict
14+
other locales, you should `install the intl extension`_. There is no conflict
1515
between the two because, even if you use the extension, this package can still
1616
be useful to access the ICU data.
1717

@@ -30,30 +30,6 @@ Installation
3030
3131
.. include:: /components/require_autoload.rst.inc
3232

33-
If you install the component via Composer, the following classes and functions
34-
of the intl extension will be automatically provided if the intl extension is
35-
not loaded:
36-
37-
* :phpclass:`Collator`
38-
* :phpclass:`IntlDateFormatter`
39-
* :phpclass:`Locale`
40-
* :phpclass:`NumberFormatter`
41-
* :phpfunction:`intl_error_name`
42-
* :phpfunction:`intl_is_failure`
43-
* :phpfunction:`intl_get_error_code`
44-
* :phpfunction:`intl_get_error_message`
45-
46-
When the intl extension is not available, the following classes are used to
47-
replace the intl classes:
48-
49-
* :class:`Symfony\\Component\\Intl\\Collator\\Collator`
50-
* :class:`Symfony\\Component\\Intl\\DateFormatter\\IntlDateFormatter`
51-
* :class:`Symfony\\Component\\Intl\\Locale\\Locale`
52-
* :class:`Symfony\\Component\\Intl\\NumberFormatter\\NumberFormatter`
53-
* :class:`Symfony\\Component\\Intl\\Globals\\IntlGlobals`
54-
55-
Composer automatically exposes these classes in the global namespace.
56-
5733
Accessing ICU Data
5834
------------------
5935

@@ -211,9 +187,9 @@ Locales
211187
~~~~~~~
212188

213189
A locale is the combination of a language, a region and some parameters that
214-
define the interface preferences of the user. For example, "Chinese" is the
215-
language and ``zh_Hans_MO`` is the locale for "Chinese" (language) + "Simplified"
216-
(script) + "Macau SAR China" (region). The ``Locales`` class provides access to
190+
define the interface preferences of the user. For example, "Chinese" is the
191+
language and ``zh_Hans_MO`` is the locale for "Chinese" (language) + "Simplified"
192+
(script) + "Macau SAR China" (region). The ``Locales`` class provides access to
217193
the name of all locales::
218194

219195
use Symfony\Component\Intl\Locales;

0 commit comments

Comments
 (0)