original_string: protected function prepareRouteCollection()
      {
          $builder = Router::createRouteBuilder('/');
          $this->app->routes($builder);
          if ($this->app instanceof PluginApplicationInterface) {
              $this->app->pluginRoutes($builder);
          }
  
          return Router::getRouteCollection();
      }
code: protected function prepareRouteCollection()
      {
          $builder = Router::createRouteBuilder('/');
          $this->app->routes($builder);
          if ($this->app instanceof PluginApplicationInterface) {
              $this->app->pluginRoutes($builder);
          }
  
          return Router::getRouteCollection();
      }
code_tokens: protected function prepareRouteCollection ( ) { $ builder = Router :: createRouteBuilder ( '/' ) ; $ this -> app -> routes ( $ builder ) ; if ( $ this -> app instanceof PluginApplicationInterface ) { $ this -> app -> pluginRoutes ( $ builder ) ; } return Router :: getRouteCollection ( ) ; }
docstring: Generate the route collection using the builder
  
  @return \Cake\Routing\RouteCollection
docstring_tokens: Generate the route collection using the builder