Beta version

class RoadizRouteCollection extends DeferredRouteCollection

Class RoadizRouteCollection.

Methods

parseResources()

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

__construct(ThemeResolver $themeResolver, Stopwatch $stopwatch = null, bool $isPreview = false)

No description

Details

at line 72
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.

at line 59
__construct(ThemeResolver $themeResolver, Stopwatch $stopwatch = null, bool $isPreview = false)

Parameters

ThemeResolver $themeResolver
Stopwatch $stopwatch
bool $isPreview