original_string: public function getCreateUrl()
      {
          $queryString = '';
  
          if ($constraints = $this->model()->getConstraints()) {
              $queryString = http_build_query($constraints);
          }
  
          return sprintf('%s/create%s',
              $this->resource(),
              $queryString ? ('?'.$queryString) : ''
          );
      }
code: public function getCreateUrl()
      {
          $queryString = '';
  
          if ($constraints = $this->model()->getConstraints()) {
              $queryString = http_build_query($constraints);
          }
  
          return sprintf('%s/create%s',
              $this->resource(),
              $queryString ? ('?'.$queryString) : ''
          );
      }
code_tokens: public function getCreateUrl ( ) { $ queryString = '' ; if ( $ constraints = $ this -> model ( ) -> getConstraints ( ) ) { $ queryString = http_build_query ( $ constraints ) ; } return sprintf ( '%s/create%s' , $ this -> resource ( ) , $ queryString ? ( '?' . $ queryString ) : '' ) ; }
docstring: Get create url.
  
  @return string
docstring_tokens: Get create url .