interface WarmableInterface
Interface for classes that support warming their cache.
@author Fabien Potencier <fabien@symfony.com>
Hierarchy
- interface \Symfony\Component\HttpKernel\CacheWarmer\WarmableInterface
Expanded class hierarchy of WarmableInterface
All classes that implement WarmableInterface
1 file declares its use of WarmableInterface
- Kernel.php in vendor/
symfony/ http-kernel/ Kernel.php
File
-
vendor/
symfony/ http-kernel/ CacheWarmer/ WarmableInterface.php, line 19
Namespace
Symfony\Component\HttpKernel\CacheWarmerView source
interface WarmableInterface {
/**
* Warms up the cache.
*
* @param string $cacheDir Where warm-up artifacts should be stored
* @param string|null $buildDir Where read-only artifacts should go; null when called after compile-time
*
* @return string[] A list of classes or files to preload
*/
public function warmUp(string $cacheDir, ?string $buildDir = null) : array;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
WarmableInterface::warmUp | public | function | Warms up the cache. | 2 |