public function OutputElement::__toString in Extensible BBCode 4.0.x
Same name and namespace in other branches
- 8.3 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\TreeCode
public function __toString() : string {
return $this->text;
}