public function offsetGet($offset) { return isset($this->data[$offset]) ? $this->data[$offset] : null; }