Skip to content

Commit d4aed27

Browse files
committed
[String] Reorganize String component contents
1 parent 028db00 commit d4aed27

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

_build/redirection_map

+2-1
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@
529529
/components/serializer#component-serializer-attributes-groups-annotations /components/serializer#component-serializer-attributes-groups-attributes
530530
/logging/monolog_regex_based_excludes /logging/monolog_exclude_http_codes
531531
/security/named_encoders /security/named_hashers
532-
/components/inflector /components/string#inflector
532+
/components/inflector /string#inflector
533533
/security/experimental_authenticators /security
534534
/security/user_provider /security/user_providers
535535
/security/reset_password /security/passwords#reset-password
@@ -566,3 +566,4 @@
566566
/messenger/handler_results /messenger#messenger-getting-handler-results
567567
/messenger/dispatch_after_current_bus /messenger#messenger-transactional-messages
568568
/messenger/multiple_buses /messenger#messenger-multiple-buses
569+
/components/string /string

components/intl.rst

+3-6
Original file line numberDiff line numberDiff line change
@@ -385,12 +385,9 @@ to catching the exception, you can also check if a given timezone ID is valid::
385385
Emoji Transliteration
386386
~~~~~~~~~~~~~~~~~~~~~
387387

388-
.. note::
389-
390-
The ``EmojiTransliterator`` class provides a utility to translate emojis into
391-
their textual representation in all languages based on the Unicode CLDR dataset.
392-
393-
Discover all the available Emoji manipulations in the :ref:`component documentation <working-with-emojis>`.
388+
Symfony provides utilities to translate emojis into their textual representation
389+
in all languages. Read the documentation on :ref:`working with emojis in strings <string-emoji-transliteration>`
390+
to learn more about this feature.
394391

395392
Disk space
396393
----------

components/string.rst renamed to string.rst

+8-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
The String Component
2-
====================
1+
Creating and Manipulating Strings
2+
=================================
33

4-
The String component provides a single object-oriented API to work with
5-
three "unit systems" of strings: bytes, code points and grapheme clusters.
4+
Symfony provides an object-oriented API to work with Unicode strings (as bytes,
5+
code points and grapheme clusters). This API is available via the String component,
6+
which you must first install in your application:
67

7-
Installation
8-
------------
8+
.. _installation:
99

1010
.. code-block:: terminal
1111
@@ -524,6 +524,8 @@ which you must first install in your application:
524524
525525
$ composer require symfony/emoji
526526
527+
.. include:: /components/require_autoload.rst.inc
528+
527529
The data needed to store the transliteration of all emojis (~5,000) into all
528530
languages take a considerable disk space.
529531

0 commit comments

Comments
 (0)