Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[String] Reorganize String component contents
  • Loading branch information
javiereguiluz committed Mar 13, 2024
commit d4aed270931877b2fa5f008294c821a2593aa38b
3 changes: 2 additions & 1 deletion _build/redirection_map
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@
/components/serializer#component-serializer-attributes-groups-annotations /components/serializer#component-serializer-attributes-groups-attributes
/logging/monolog_regex_based_excludes /logging/monolog_exclude_http_codes
/security/named_encoders /security/named_hashers
/components/inflector /components/string#inflector
/components/inflector /string#inflector
/security/experimental_authenticators /security
/security/user_provider /security/user_providers
/security/reset_password /security/passwords#reset-password
Expand Down Expand Up @@ -566,3 +566,4 @@
/messenger/handler_results /messenger#messenger-getting-handler-results
/messenger/dispatch_after_current_bus /messenger#messenger-transactional-messages
/messenger/multiple_buses /messenger#messenger-multiple-buses
/components/string /string
9 changes: 3 additions & 6 deletions components/intl.rst
Original file line number Diff line number Diff line change
Expand Up @@ -385,12 +385,9 @@ to catching the exception, you can also check if a given timezone ID is valid::
Emoji Transliteration
~~~~~~~~~~~~~~~~~~~~~

.. note::

The ``EmojiTransliterator`` class provides a utility to translate emojis into
their textual representation in all languages based on the Unicode CLDR dataset.

Discover all the available Emoji manipulations in the :ref:`component documentation <working-with-emojis>`.
Symfony provides utilities to translate emojis into their textual representation
in all languages. Read the documentation on :ref:`working with emojis in strings <string-emoji-transliteration>`
to learn more about this feature.

Disk space
----------
Expand Down
14 changes: 8 additions & 6 deletions components/string.rst → string.rst
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
The String Component
====================
Creating and Manipulating Strings
=================================

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

Installation
------------
.. _installation:

.. code-block:: terminal

Expand Down Expand Up @@ -524,6 +524,8 @@ which you must first install in your application:

$ composer require symfony/emoji

.. include:: /components/require_autoload.rst.inc

The data needed to store the transliteration of all emojis (~5,000) into all
languages take a considerable disk space.

Expand Down