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, Settings $settingsBag, Stopwatch $stopwatch = null, bool $isPreview = false)

No description

Details

at line 79
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 64
__construct(ThemeResolver $themeResolver, Settings $settingsBag, Stopwatch $stopwatch = null, bool $isPreview = false)

Parameters

ThemeResolver $themeResolver
Settings $settingsBag
Stopwatch $stopwatch
bool $isPreview