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

Commit9a69cac

Browse files
Nyholmxabbuh
authored andcommitted
[Intl] Remove documentation about deprecated code
1 parentcd5d590 commit9a69cac

File tree

1 file changed

+4
-30
lines changed

1 file changed

+4
-30
lines changed

‎components/intl.rst‎

Lines changed: 4 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,11 @@ The Intl Component
66
==================
77

88
This component provides access to the localization data of the `ICU library`_.
9-
It also provides a PHP replacement layer for the C `intl extension`_.
109

1110
..caution::
1211

1312
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
13+
other locales, you should `install the intl extension`_. There is no conflict
1514
between the two because, even if you use the extension, this package can still
1615
be useful to access the ICU data.
1716

@@ -30,30 +29,6 @@ Installation
3029
3130
..include::/components/require_autoload.rst.inc
3231

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-
5732
Accessing ICU Data
5833
------------------
5934

@@ -211,9 +186,9 @@ Locales
211186
~~~~~~~
212187

213188
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
189+
define the interface preferences of the user. For example, "Chinese" is the
190+
language and ``zh_Hans_MO`` is the locale for "Chinese" (language) + "Simplified"
191+
(script) + "Macau SAR China" (region). The ``Locales`` class provides access to
217192
the name of all locales::
218193

219194
use Symfony\Component\Intl\Locales;
@@ -375,7 +350,6 @@ Learn more
375350
/reference/forms/types/locale
376351
/reference/forms/types/timezone
377352

378-
.. _intl extension:https://www.php.net/manual/en/book.intl.php
379353
.. _install the intl extension:https://www.php.net/manual/en/intl.setup.php
380354
.. _ICU library:http://site.icu-project.org/
381355
.. _`Unicode ISO 15924 Registry`:https://www.unicode.org/iso15924/iso15924-codes.html

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp