private function flushRouteCache(IResponse $response)
    {
        if (($path = Config::get('paths', 'routes.cache')) !== null) {
            $this->routeCache->flush("$path/" . RouteCache::DEFAULT_CACHED_ROUTES_FILE_NAME);
        }

        $response->writeln('<info>Route cache flushed</info>');
    }
private function flushRouteCache(IResponse $response)
    {
        if (($path = Config::get('paths', 'routes.cache')) !== null) {
            $this->routeCache->flush("$path/" . RouteCache::DEFAULT_CACHED_ROUTES_FILE_NAME);
        }

        $response->writeln('<info>Route cache flushed</info>');
    }
private function flushRouteCache ( IResponse $ response ) { if ( ( $ path = Config :: get ( 'paths' , 'routes.cache' ) ) !== null ) { $ this -> routeCache -> flush ( "$path/" . RouteCache :: DEFAULT_CACHED_ROUTES_FILE_NAME ) ; } $ response -> writeln ( '<info>Route cache flushed</info>' ) ; }
Flushes the route cache

@param IResponse $response The response to write to
Flushes the route cache