app/Statistics.php
public function embedTags(string $text): string
    {
        if (strpos($text, '#') !== false) {
            $text = strtr($text, $this->getTags($text));
        }

        return $text;
    }
public function embedTags(string $text): string
    {
        if (strpos($text, '#') !== false) {
            $text = strtr($text, $this->getTags($text));
        }

        return $text;
    }
public function embedTags ( string $ text ) : string { if ( strpos ( $ text , '#' ) !== false ) { $ text = strtr ( $ text , $ this -> getTags ( $ text ) ) ; } return $ text ; }
Embed tags in text

@param string $text

@return string
Embed tags in text