League\CommonMark\Delimiter\Delimiter::__construct PHP Method

__construct() public method

public __construct ( string $char, integer $numDelims, League\CommonMark\Node\Node $node, boolean $canOpen, boolean $canClose, integer | null $index = null )
$char string
$numDelims integer
$node League\CommonMark\Node\Node
$canOpen boolean
$canClose boolean
$index integer | null
    public function __construct($char, $numDelims, Node $node, $canOpen, $canClose, $index = null)
    {
        $this->char = $char;
        $this->numDelims = $numDelims;
        $this->inlineNode = $node;
        $this->canOpen = $canOpen;
        $this->canClose = $canClose;
        $this->active = true;
        $this->index = $index;
    }