class League / CommonMark / Renderer / HtmlDecorator
You are viewing an older version of the documentation. For the latest, please visit 2.4 documentation.
final

HtmlDecorator

Implements

Properties

private

$inner

Default: null
private

$tag

Default: null
private

$attributes array|string[]|bool>

Default: null
private

$selfClosing

Default: null

Methods

public

__construct ( NodeRendererInterface $inner , string $tag , array $attributes , bool $selfClosing ) : void

Parameters

  • $attributes array|string[]|bool>
public

render ( Node $node , ChildNodeRendererInterface $childRenderer ) : void

{@inheritDoc}