title: How to force reload routes in Symfony?
body: <p>I'm working on a script that dynamically update existing routes then dump those routes to a cache file within the same request for later use. </p>
  
  <p>I was able to figure out the way to delete all current route cache files, then use warmUp on the router, but when I use getRouteCollection I will still get the same old routes within that request since the collection is already loaded. When I try to force reload the collection by using a custom router and fource collection to null, I get the error</p>
  
  <blockquote>
    <p>Do Not Add The "abc_custom" Loader Twice In ....</p>
  </blockquote>
  
  <p>My guess is that the loader seems to reload all configs files (not limited to routing config files) and that causes the error.</p>
  
  <p>I wonder if I'm taking the wrong approach to this issue or if there is any good way to get around this?</p>