interface CacheWarmerInterface
Interface for classes able to warm up the cache.
@author Fabien Potencier <fabien@symfony.com>
Hierarchy
- interface \Symfony\Component\HttpKernel\CacheWarmer\WarmableInterface
- interface \Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerInterface extends \Symfony\Component\HttpKernel\CacheWarmer\WarmableInterface
Expanded class hierarchy of CacheWarmerInterface
All classes that implement CacheWarmerInterface
1 file declares its use of CacheWarmerInterface
- CompiledClassMetadataCacheWarmer.php in vendor/
symfony/ serializer/ CacheWarmer/ CompiledClassMetadataCacheWarmer.php
File
-
vendor/
symfony/ http-kernel/ CacheWarmer/ CacheWarmerInterface.php, line 19
Namespace
Symfony\Component\HttpKernel\CacheWarmerView source
interface CacheWarmerInterface extends WarmableInterface {
/**
* Checks whether this warmer is optional or not.
*
* Optional warmers can be ignored on certain conditions.
*
* A warmer should return true if the cache can be
* generated incrementally and on-demand.
*/
public function isOptional() : bool;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
CacheWarmerInterface::isOptional | public | function | Checks whether this warmer is optional or not. | 2 |
WarmableInterface::warmUp | public | function | Warms up the cache. | 2 |