original_string: protected function buildRouteCollection()
      {
          if (Cache::enabled() && $this->cacheConfig !== null) {
              return Cache::remember(static::ROUTE_COLLECTION_CACHE_KEY, function () {
                  return $this->prepareRouteCollection();
              }, $this->cacheConfig);
          }
  
          return $this->prepareRouteCollection();
      }
code: protected function buildRouteCollection()
      {
          if (Cache::enabled() && $this->cacheConfig !== null) {
              return Cache::remember(static::ROUTE_COLLECTION_CACHE_KEY, function () {
                  return $this->prepareRouteCollection();
              }, $this->cacheConfig);
          }
  
          return $this->prepareRouteCollection();
      }
code_tokens: protected function buildRouteCollection ( ) { if ( Cache :: enabled ( ) && $ this -> cacheConfig !== null ) { return Cache :: remember ( static :: ROUTE_COLLECTION_CACHE_KEY , function ( ) { return $ this -> prepareRouteCollection ( ) ; } , $ this -> cacheConfig ) ; } return $ this -> prepareRouteCollection ( ) ; }
docstring: Check if route cache is enabled and use the configured Cache to 'remember' the route collection
  
  @return \Cake\Routing\RouteCollection
docstring_tokens: Check if route cache is enabled and use the configured Cache to remember the route collection