Image concrete CommonMark\Node

- « CommonMark\Node\HTMLInline

- CommonMark\Node\Image::__construct »

- PHP Manual
- CommonMark
- Image concrete CommonMark\Node

# Image concrete CommonMark\Node

(cmark >= 1.0.0)

## Class synopsis

final class CommonMark\Node\Image 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 __construct()
public __construct(string `$url`)
public __construct(string `$url`, string `$title`)
/* Inherited methods */
public CommonMark\Node::appendChild(CommonMark\Node `$child`): CommonMark\Node
public CommonMark\Node::prependChild(CommonMark\Node `$child`): CommonMark\Node
public CommonMark\Node::insertAfter(CommonMark\Node `$sibling`): CommonMark\Node
public CommonMark\Node::insertBefore(CommonMark\Node `$sibling`): CommonMark\Node
public CommonMark\Node::replace(CommonMark\Node `$target`): CommonMark\Node
public CommonMark\Node::unlink(): void
public CommonMark\Node::accept(CommonMark\Interfaces\IVisitor `$visitor`): void
}

## Table of Contents

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