public function offsetGet($offset) { return $this->offsetExists($offset) ? $this->{$offset} : null; }