function WarmableInterface::warmUp
Warms up the cache.
Parameters
string $cacheDir Where warm-up artifacts should be stored:
string|null $buildDir Where read-only artifacts should go; null when called after compile-time:
Return value
string[] A list of classes or files to preload
2 methods override WarmableInterface::warmUp()
- CacheWarmerAggregate::warmUp in vendor/
symfony/ http-kernel/ CacheWarmer/ CacheWarmerAggregate.php - Warms up the cache.
- CompiledClassMetadataCacheWarmer::warmUp in vendor/
symfony/ serializer/ CacheWarmer/ CompiledClassMetadataCacheWarmer.php - Warms up the cache.
File
-
vendor/
symfony/ http-kernel/ CacheWarmer/ WarmableInterface.php, line 29
Class
- WarmableInterface
- Interface for classes that support warming their cache.
Namespace
Symfony\Component\HttpKernel\CacheWarmerCode
public function warmUp(string $cacheDir, ?string $buildDir = null) : array;