class League / CommonMark / Renderer / HtmlDecorator
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}