| Total Complexity | 3 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | class Plugin |
||
| 24 | { |
||
| 25 | // Constants |
||
| 26 | // ========================================================================= |
||
| 27 | |||
| 28 | const BLITZ_PLUGIN_HANDLE = 'blitz'; |
||
| 29 | |||
| 30 | // Public Static Methods |
||
| 31 | // ========================================================================= |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Determine if the Blitz plugin is installed, and if cache warming is enabled |
||
| 35 | * |
||
| 36 | * @return bool |
||
| 37 | */ |
||
| 38 | public static function blitzWarmingActive(): bool |
||
| 50 |