original_string: protected function createServerUrl($uri)
      {
          $gateway = Config::get('cms.updateServer', 'http://gateway.octobercms.com/api');
          if (substr($gateway, -1) != '/') {
              $gateway .= '/';
          }
  
          return $gateway . $uri;
      }
code: protected function createServerUrl($uri)
      {
          $gateway = Config::get('cms.updateServer', 'http://gateway.octobercms.com/api');
          if (substr($gateway, -1) != '/') {
              $gateway .= '/';
          }
  
          return $gateway . $uri;
      }
code_tokens: protected function createServerUrl ( $ uri ) { $ gateway = Config :: get ( 'cms.updateServer' , 'http://gateway.octobercms.com/api' ) ; if ( substr ( $ gateway , - 1 ) != '/' ) { $ gateway .= '/' ; } return $ gateway . $ uri ; }
docstring: Create a complete gateway server URL from supplied URI
  @param  string $uri URI
  @return string      URL
docstring_tokens: Create a complete gateway server URL from supplied URI