src/Utility/Macros.php
public function text($text)
    {
        foreach ($this->_data as $macros => $value) {
            $macros = '{' . $macros . '}';
            $text   = preg_replace('#' . $macros . '#ius', $value, $text);
        }

        return $text;
    }
public function text($text)
    {
        foreach ($this->_data as $macros => $value) {
            $macros = '{' . $macros . '}';
            $text   = preg_replace('#' . $macros . '#ius', $value, $text);
        }

        return $text;
    }
public function text ( $ text ) { foreach ( $ this -> _data as $ macros => $ value ) { $ macros = '{' . $ macros . '}' ; $ text = preg_replace ( '#' . $ macros . '#ius' , $ value , $ text ) ; } return $ text ; }
Get replacement text.

@param   string $text
@return  string mixed
Get replacement text .