You are here

ElementInterface.php in Extensible BBCode 8.3

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

File

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

namespace Drupal\xbbcode\Parser\Tree;


/**
 * An element in the parser tree.
 */
interface ElementInterface {

  /**
   * Render this element to a string.
   *
   * @return string|\Drupal\xbbcode\Parser\Tree\OutputElementInterface
   *   The rendered output.
   */
  public function render();

}

Interfaces

Namesort descending Description
ElementInterface An element in the parser tree.