File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -552,8 +552,7 @@ from GitHub or Slack, use the first argument of ``withEmoji()`` method::
552552 $slug = $slugger->slug('a 😺, 🐈⬛, and a 🦁');
553553 // $slug = 'a-smiley-cat-black-cat-and-a-lion';
554554
555- If you want to strip emojis from a string, you can also use the special
556- ``strip `` locale::
555+ If you want to strip emojis from slugs, use the special ``strip `` locale::
557556
558557 use Symfony\Component\String\Slugger\AsciiSlugger;
559558
@@ -563,6 +562,10 @@ If you want to strip emojis from a string, you can also use the special
563562 $slug = $slugger->slug('a 😺, 🐈⬛, and a 🦁');
564563 // $slug = 'a-and-a';
565564
565+ .. versionadded :: 6.3
566+
567+ The option to strip emojis from slugs was introduced in Symfony 6.3.
568+
566569.. _string-inflector :
567570
568571Inflector
You can’t perform that action at this time.
0 commit comments