# Link concrete CommonMark\Node

(cmark >= 1.0.0)

## Class synopsis

final class CommonMark\Node\Link extends CommonMark\Node implements CommonMark\Interfaces\IVisitable, Traversable {
/* Inherited properties */
public readonly ?Node $parent;
public readonly ?Node $previous;
public readonly ?Node $next;
public readonly ?Node $lastChild;
public readonly ?Node $firstChild;
public readonly int $startLine;
public readonly int $endLine;
public readonly int $startColumn;
public readonly int $endColumn;
/* Properties */
public ?string $url;
public ?string $title;
/* Constructor */
public function __construct()
public function __construct(string `$url`)
public function __construct(string `$url`, string `$title`)
/* Inherited methods */
public function CommonMark\Node::appendChild(CommonMark\Node `$child`): CommonMark\Node
public function CommonMark\Node::prependChild(CommonMark\Node `$child`): CommonMark\Node
public function CommonMark\Node::insertAfter(CommonMark\Node `$sibling`): CommonMark\Node
public function CommonMark\Node::insertBefore(CommonMark\Node `$sibling`): CommonMark\Node
public function CommonMark\Node::replace(CommonMark\Node `$target`): CommonMark\Node
public function CommonMark\Node::unlink(): void
public function CommonMark\Node::accept(CommonMark\Interfaces\IVisitor `$visitor`): void
}

## Table of Contents

- CommonMark\Node\Link::__construct — Link Construction

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open