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