You are here

public function OutputElement::__toString in Extensible BBCode 8.3

Same name and namespace in other branches
  1. 4.0.x src/Parser/Tree/OutputElement.php \Drupal\xbbcode\Parser\Tree\OutputElement::__toString()

Convert to string.

Return value

string The string value.

Overrides OutputElementInterface::__toString

File

src/Parser/Tree/OutputElement.php, line 30

Class

OutputElement
Represent a rendered element in the parse tree.

Namespace

Drupal\xbbcode\Parser\Tree

Code

public function __toString() : string {
  return $this->text;
}