/** * Add child node for the current node * @param NodeInterface $child * @return NodeAbstraction * @nestedSetMethod */ public function addChild(NodeInterface $child) { $child->moveAsLastChildOf($this); return $this; }