public function TestCacheWarmer::isOptional in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-kernel/Tests/CacheWarmer/CacheWarmerTest.php \Symfony\Component\HttpKernel\Tests\CacheWarmer\TestCacheWarmer::isOptional()
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 value
bool true if the warmer is optional, false otherwise
Overrides CacheWarmerInterface::isOptional
File
- vendor/
symfony/ http-kernel/ Tests/ CacheWarmer/ CacheWarmerTest.php, line 63
Class
Namespace
Symfony\Component\HttpKernel\Tests\CacheWarmerCode
public function isOptional() {
return false;
}