public function offsetUnset($index) { unset($this->processors[$index]); $this->processors = array_values($this->processors); }