Documentation

DocumentNode
in package
implements NodeInterface

FinalYes
Tags
author

Titouan Galopin galopintitouan@gmail.com

Table of Contents

Interfaces

NodeInterface
Represents the sanitized version of a DOM node in the sanitized tree.

Properties

$children  : array<string|int, mixed>

Methods

addChild()  : void
Add a child node to this node.
getParent()  : NodeInterface|null
Return the parent node of this node, or null if it has no parent node.
render()  : string
Render this node as a string, recursively rendering its children as well.

Properties

$children

private array<string|int, mixed> $children = []

Methods

render()

Render this node as a string, recursively rendering its children as well.

public render() : string
Return values
string

        
On this page

Search results