original_string: public function getUrlGenerator()
      {
          if (isset($this->urlGenerator)) {
              return $this->urlGenerator;
          }
  
          // Check if an URL Generator resolver was set.
          else if (! isset(static::$urlGeneratorResolver)) {
              throw new RuntimeException("URL Generator resolver not set on Paginator.");
          }
  
          return $this->urlGenerator = call_user_func(static::$urlGeneratorResolver, $this);
      }
code: public function getUrlGenerator()
      {
          if (isset($this->urlGenerator)) {
              return $this->urlGenerator;
          }
  
          // Check if an URL Generator resolver was set.
          else if (! isset(static::$urlGeneratorResolver)) {
              throw new RuntimeException("URL Generator resolver not set on Paginator.");
          }
  
          return $this->urlGenerator = call_user_func(static::$urlGeneratorResolver, $this);
      }
code_tokens: public function getUrlGenerator ( ) { if ( isset ( $ this -> urlGenerator ) ) { return $ this -> urlGenerator ; } // Check if an URL Generator resolver was set. else if ( ! isset ( static :: $ urlGeneratorResolver ) ) { throw new RuntimeException ( "URL Generator resolver not set on Paginator." ) ; } return $ this -> urlGenerator = call_user_func ( static :: $ urlGeneratorResolver , $ this ) ; }
docstring: Get the URL Generator instance.
  
  @return \Nova\Pagination\UrlGenerator
docstring_tokens: Get the URL Generator instance .