public function offsetGet($offset) { if ($this->offsetExists($offset)) { return $this->_results[$offset]; } else { throw new InvalidException('Offset does not exist.'); } }