public function offsetGet($offset) { $info = $this->getListByKey(); if (!isset($info[$offset])) { return null; } return $info[$offset]; }