class RouterCacheWarmer implements CacheWarmerInterface

Generates the router matcher and generator classes.

Methods

__construct(RouterInterface $router)

No description

warmUp(string $cacheDir)

Warms up the cache.

bool
isOptional()

Checks whether this warmer is optional or not.

Details

at line line 27
__construct(RouterInterface $router)

Parameters

RouterInterface $router

at line line 37
warmUp(string $cacheDir)

Warms up the cache.

Parameters

string $cacheDir The cache directory

at line line 49
bool isOptional()

Checks whether this warmer is optional or not.

Return Value

bool true if the warmer is optional, false otherwise