You are here

public function OutputElement::__construct in Extensible BBCode 4.0.x

Same name and namespace in other branches
  1. 8.3 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(string $text) {
  $this->text = $text;
}