src/Helpers/Emojify.php
protected function wordToEmojiReplace($line, $replace, $delimiter)
    {
        foreach ($replace as $key => $value) {
            $line = str_replace($delimiter.$key.$delimiter, $value, $line);
        }

        return $line;
    }
protected function wordToEmojiReplace($line, $replace, $delimiter)
    {
        foreach ($replace as $key => $value) {
            $line = str_replace($delimiter.$key.$delimiter, $value, $line);
        }

        return $line;
    }
protected function wordToEmojiReplace ( $ line , $ replace , $ delimiter ) { foreach ( $ replace as $ key => $ value ) { $ line = str_replace ( $ delimiter . $ key . $ delimiter , $ value , $ line ) ; } return $ line ; }
Finds words enclosed by the delimiter and converts them to the
appropriate emoji character.

@param $line
@param $replace
@param $delimiter

@return mixed
Finds words enclosed by the delimiter and converts them to the appropriate emoji character .