processText() публичный Метод

This method is required by the parent class.
public processText ( $text ) : string
Результат string the processed text result
Пример #1
0
 /**
  * Highlights source code using TTextHighlighter
  * @param array matches of code blocks
  * @return string highlighted code.
  */
 protected function highlightCode($matches)
 {
     $text = html_entity_decode($matches[2], ENT_QUOTES, 'UTF-8');
     $this->setLanguage($matches[1]);
     return parent::processText($text);
 }