예제 #1
0
파일: Node.php 프로젝트: rakorium/okapi
 /**
  * @param self $child
  * @return static
  */
 public function appendChild(self $child)
 {
     $child->attachNode($this);
     $name = $child->getName();
     $this->children[$name] = $child;
     return $this;
 }