public addChildNode ( PHPCR\NodeInterface $node, boolean $check, string $name = null ) | ||
$node | PHPCR\NodeInterface | The name of the child node |
$check | boolean | whether to check state |
$name | string | is used in cases where $node->getName would not return the correct name (during move operation) |