You are here

public function OutputElement::__construct 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::__construct()

OutputElement constructor.

Parameters

string $text: The output.

File

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

Class

OutputElement
Represent a rendered element in the parse tree.

Namespace

Drupal\xbbcode\Parser\Tree

Code

public function __construct($text) {
  $this->text = $text;
}