public function offsetSet($key, $value) { if ($key === null) { return $this->_results[] = $value; } else { return $this->_results[$key] = $value; } }