You are here

RootElement.php in Extensible BBCode 8.3

Same filename and directory in other branches
  1. 4.0.x src/Parser/Tree/RootElement.php

File

src/Parser/Tree/RootElement.php
View source
<?php

namespace Drupal\xbbcode\Parser\Tree;


/**
 * The root element of the tag tree.
 */
class RootElement extends NodeElement {

  /**
   * {@inheritdoc}
   */
  public function render() : string {
    return $this
      ->getContent();
  }

}

Classes

Namesort descending Description
RootElement The root element of the tag tree.