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