interface WarmableInterface

Interface for classes that support warming their cache.

Methods

array
warmUp(string$cacheDir,string$buildDir =null)

Warms up the cache.

Details

array warmUp(string$cacheDir,string$buildDir =null)

Warms up the cache.

Parameters

string $cacheDir Where warm-up artifacts should be stored
string $buildDir Where read-only artifacts should go; null when called after compile-time

Return Value

array A list of classes or files to preload