original_string: protected function loadRoutes()
      {
          $builder = Router::createRouteBuilder('/');
  
          if ($this->app instanceof HttpApplicationInterface) {
              $this->app->routes($builder);
          }
          if ($this->app instanceof PluginApplicationInterface) {
              $this->app->pluginRoutes($builder);
          }
      }
code: protected function loadRoutes()
      {
          $builder = Router::createRouteBuilder('/');
  
          if ($this->app instanceof HttpApplicationInterface) {
              $this->app->routes($builder);
          }
          if ($this->app instanceof PluginApplicationInterface) {
              $this->app->pluginRoutes($builder);
          }
      }
code_tokens: protected function loadRoutes ( ) { $ builder = Router :: createRouteBuilder ( '/' ) ; if ( $ this -> app instanceof HttpApplicationInterface ) { $ this -> app -> routes ( $ builder ) ; } if ( $ this -> app instanceof PluginApplicationInterface ) { $ this -> app -> pluginRoutes ( $ builder ) ; } }
docstring: Ensure that the application's routes are loaded.
  
  Console commands and shells often need to generate URLs.
  
  @return void
docstring_tokens: Ensure that the application s routes are loaded .