public function url()
    {
        if (isset($this->values['url']) && $this->values['url'] instanceof  UrlContract) {
            return $this->values['url'];
        }
        throw new UnConfiguredException('No url was given by the paginator. Did you peform Paginator::setBaseUrl()?');
    }