Returns a new PageInfo object based on the given config object.
PageInfo
The configuration options for the resulting PageInfo object.
Returns a new
PageInfoobject based on the given config object.