/** * @param int $offset * @return bool */ public function offsetExists($offset) { $result = $this->object->offsetExists($offset); return $result === $this->object ? $this : $result; }