public function &detach(Node $node)
    {
        foreach ($this->links as $linked_node) {
            if ($linked_node == $node) {
                $this->links->detach($node);
            }
        }

        return $this;
    }
public function &detach(Node $node)
    {
        foreach ($this->links as $linked_node) {
            if ($linked_node == $node) {
                $this->links->detach($node);
            }
        }

        return $this;
    }
public function & detach ( Node $ node ) { foreach ( $ this -> links as $ linked_node ) { if ( $ linked_node == $ node ) { $ this -> links -> detach ( $ node ) ; } } return $ this ; }
Detach a node

@access public
@return Node
@param Node $node the node to remove
Detach a node