You are here

public function TagProcessResult::__toString in Extensible BBCode 8.3

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

Convert to string.

Return value

string The string value.

Overrides OutputElementInterface::__toString

File

src/TagProcessResult.php, line 70

Class

TagProcessResult
Represents the output of a tag processor in a tree.

Namespace

Drupal\xbbcode

Code

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