private function detach($node) {
        $node->getPrevious()->setNext($node->getNext());
        $node->getNext()->setPrevious($node->getPrevious());
    }
private function detach($node) {
        $node->getPrevious()->setNext($node->getNext());
        $node->getNext()->setPrevious($node->getPrevious());
    }
private function detach ( $ node ) { $ node -> getPrevious ( ) -> setNext ( $ node -> getNext ( ) ) ; $ node -> getNext ( ) -> setPrevious ( $ node -> getPrevious ( ) ) ; }
Removes a node from the list
@param Node $node the node to remove from the list
Removes a node from the list