interface CacheWarmerInterface in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/CacheWarmer/CacheWarmerInterface.php \Symfony\Component\HttpKernel\CacheWarmer\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
Expanded class hierarchy of CacheWarmerInterface
All classes that implement CacheWarmerInterface
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.
*
* @return bool true if the warmer is optional, false otherwise
*/
public function isOptional();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CacheWarmerInterface:: |
public | function | Checks whether this warmer is optional or not. | 2 |
WarmableInterface:: |
public | function | Warms up the cache. | 3 |