ClassCacheCacheWarmer

ClassCacheCacheWarmer

class ClassCacheCacheWarmer implements CacheWarmerInterface

Generates the Class Cache (classes.php) file.

Methods

__construct(array $declaredClasses = null)
warmUp(string $cacheDir)

Warms up the cache.

bool isOptional()

Checks whether this warmer is optional or not.

Details

__construct(array $declaredClasses = null)

Parameters