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