You are here

public function TagElement::setClosingName in Extensible BBCode 4.0.x

Get the original closing tag name.

Parameters

string $closing: The closing tag name.

Return value

$this

Overrides TagElementInterface::setClosingName

File

src/Parser/Tree/TagElement.php, line 124

Class

TagElement
A BBCode tag element.

Namespace

Drupal\xbbcode\Parser\Tree

Code

public function setClosingName(string $closing) : TagElementInterface {
  $this->closingName = $closing;
  return $this;
}