class RouteDumper (View source)

Properties

protected $routeCollection
protected $cacheDirectory
protected $fs
protected $matcherClassName
protected $generatorClassName

Methods

__construct(RouteCollection $routeCollection, string $cacheDirectory, string $matcherClassName = 'GlobalUrlMatcher', string $generatorClassName = 'GlobalUrlGenerator')

No description

createCacheDirectory()

Create routes cache directory.

dump()

Dump route matcher and generators.

Details

__construct(RouteCollection $routeCollection, string $cacheDirectory, string $matcherClassName = 'GlobalUrlMatcher', string $generatorClassName = 'GlobalUrlGenerator')

Parameters

RouteCollection $routeCollection
string $cacheDirectory
string $matcherClassName
string $generatorClassName

protected createCacheDirectory()

Create routes cache directory.

dump()

Dump route matcher and generators.