public function offsetUnset($offset) { // unset($this->nodes[$offset]); \array_splice($this->nodes, $offset, 1); }