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::
552
552
$slug = $slugger->slug('a 😺, 🐈⬛, and a 🦁');
553
553
// $slug = 'a-smiley-cat-black-cat-and-a-lion';
554
554
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::
557
556
558
557
use Symfony\Component\String\Slugger\AsciiSlugger;
559
558
@@ -563,6 +562,10 @@ If you want to strip emojis from a string, you can also use the special
563
562
$slug = $slugger->slug('a 😺, 🐈⬛, and a 🦁');
564
563
// $slug = 'a-and-a';
565
564
565
+ .. versionadded :: 6.3
566
+
567
+ The option to strip emojis from slugs was introduced in Symfony 6.3.
568
+
566
569
.. _string-inflector :
567
570
568
571
Inflector
You can’t perform that action at this time.
0 commit comments