src/EmojiModifier.php
public function makeEmojiAccessible($text)
    {
        return preg_replace_callback(
            $this->search,
            function ($matches) {
                $desc = $this->emoji[$this->utf8ToUnicode($matches[0])];
                return sprintf($this->output, $desc, $matches[0]);
            },
            $text
        );
    }
public function makeEmojiAccessible($text)
    {
        return preg_replace_callback(
            $this->search,
            function ($matches) {
                $desc = $this->emoji[$this->utf8ToUnicode($matches[0])];
                return sprintf($this->output, $desc, $matches[0]);
            },
            $text
        );
    }
Given an input string, find any emoji characters, and add a wrapping span
tag that includes the emoji description in an accessible manner.

@param  string $text
@return string