コード例 #1
0
ファイル: Node.php プロジェクト: fakeller/archinspec
 /**
  * Adds a child to the current node.
  *
  * @param NodeInterface $child
  */
 public function addChild(NodeInterface $child)
 {
     $this->children[$child->getName()] = $child;
 }