public function delete($path)
    {
        $node = $this->getNodeForPath($path);
        $node->delete();

        list($parent) = Uri\split($path);
        $this->markDirty($parent);
    }
public function delete($path)
    {
        $node = $this->getNodeForPath($path);
        $node->delete();

        list($parent) = Uri\split($path);
        $this->markDirty($parent);
    }
public function delete ( $ path ) { $ node = $ this -> getNodeForPath ( $ path ) ; $ node -> delete ( ) ; list ( $ parent ) = Uri \ split ( $ path ) ; $ this -> markDirty ( $ parent ) ; }
Deletes a node from the tree.

@param string $path
Deletes a node from the tree .