Beta version

class DeferredRouteCollection extends RouteCollection

Extends Symfony2 RouteCollection to add parseResources() method to defer route loading.

Methods

parseResources()

Method to parse and get routes from external resources in deferred way to your collection.

Details

at line 47
parseResources()

Method to parse and get routes from external resources in deferred way to your collection.

Useful if you want to use a caching system on your Router and parse Yaml file only when cache is not available.