Esempio n. 1
0
 /**
  * Remove a child
  * 
  * @param  AppTreeItem $item The child to remove
  * 
  * @return AppTreeItem            $this for chaining support
  *
  * @since 2.0
  */
 public function removeChild(AppTreeItem $item)
 {
     $item->setParent(null);
     unset($this->_children[$item->getID()]);
     return $this;
 }