This gets the text that has been parsed and returns it.

@return string
762690
public function getText()
    {
        $text = trim($this->text);
        $lines = explode("\n", $text);

        return implode("\n", array_map('trim', $lines));
    }
210926
public function getFormattedString()
    {
        $string = (string) $this->code;

        if (null !== $this->message) {
            $string = $string . ' ' . $this->message;
        }

        return $string;
    }
504470
public function getExtMessage()
	{
	    if ($this->_noext) return false;
        $str = 'In file <b>'.$this->getFile().'</b> on line: '.$this->getLine()."<br /><br /><b>Stack trace:</b><br />".nl2br($this->getTraceAsString());
        return $str;
    }
907412
public function getRawMessage(): string
    {
        if (null === $this->rawMessage) {
            $this->rawMessage = $this->doGetContent('');
        }

        return $this->rawMessage;
    }
879854
public function getReasonPhrase()
    {
        if ($this->reasonPhrase) {
            return $this->reasonPhrase;
        }

        $status = $this->getStatusCode();
        if (isset($this->phrases[$status])) {
            return $this->phrases[$status];
        }

        return '';
    }
729874
public function getText()
    {
        foreach (self::$children as $child) {
            //echo '<pre>';
            //var_dump($child);
            //echo '</pre>';
            $child->getText();
        }
        $class = '\CnabPHP\resources\\B' . self::$banco . '\remessa\\' . self::$layout . '\Registro9';
        $headerArquivo = new $class(array('1' => 1));
        $headerArquivo->getText();
        return implode(self::$endLine, self::$retorno) . self::$endLine;
    }
316662
public function getAbstract()
    {
        return strlen($this->content) > 400 ? StringUtils::resumeHtml($this->content, 400) : $this->content;
    }
174976
public function getText()
    {
        $retorno = '';
        foreach ($this->meta as $key => $value) {
            $retorno .= $this->$key;
        }
        RemessaAbstract::$retorno[] = $retorno;
        if ($this->children) {
            // percorre todos objetos filhos
            foreach ($this->children as $child) {
                $child->getText();
            }
        }
    }
154901
protected function parseTitle()
    {
        if (($registeredName = array_search($this->className, $this->defaultContextSettings)) !== false) {
            return $registeredName;
        } elseif (preg_match('/\\\\([^\\\\]*)Helper$/', $this->className, $matches)) {
            return $matches[1];
        }

        return $this->className;
    }
874630
protected function parse()
	{
		if (($s = $this->copy_until_char('<'))==='')
		{
			return $this->read_tag();
		}

		// text
		$node = new Node($this);
		++$this->cursor;
		$node->_[self::HDOM_INFO_TEXT] = $s;
		$this->link_nodes($node, false);
		return true;
	}
64223
public function getTitleNamed()
    {
        return !isset(self::getTitles()[$this->title]) ?: self::getTitles()[$this->title];
    }
1033811
public function parseText()
    {
        $body = $this->token['text'];

        $p = $this->peek();
        while (isset($p) && $p['type'] === 'text') {
            $n = $this->next();
            $body .= "\n" . $n['text'];
            $p = $this->peek();
        }

        return $this->inline->output($body);
    }
425659
protected function parseAlt() {
    if (is_object($this->file)) {
      if (isset($this->file->alt)) {
        return $this->file->alt;
      }
    }

    if (is_array($this->file)) {
      if (isset($this->file['alt'])) {
        return $this->file['alt'];
      }
    }

    return '';
  }
631805
public function getReasonPhrase()
    {
        $code = $this->getStatusCode();

        if ($this->reasonPhrase === null && isset($this->phrases[$code]))
        {
            return $this->phrases[$code];
        }

        return (string) $this->reasonPhrase;
    }
1280329
public function parse()
    {
        $nextCursor = (int) $this->body[0];
        return array_merge([
            'finished' => (0 === $nextCursor),
            'nextCursor' => $nextCursor,
        ], $this->parseBody((array) $this->body[1]));
    }
1150304
public String getText()
    {
        String strText = super.getText();
        if (strText != null)
            if (strText.equals(m_strDescription))
                strText = Constants.BLANK;
        return strText;
    }
153013
public function getMissingText()
    {
        $missing = $this->missing ?: $this->dataFilter->getMissingTemplate();
        return U::formatString($missing, array(
            'attrib' => $this->name
        ));
    }