We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Total Complexity | 5 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Coverage | 92.86% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class CompileCacheWarmer implements CacheWarmerInterface |
||
| 11 | { |
||
| 12 | private $typeGenerator; |
||
| 13 | |||
| 14 | private $compiled; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * CompileCacheWarmer constructor. |
||
| 18 | * |
||
| 19 | * @param TypeGenerator $typeGenerator |
||
| 20 | * @param bool $compiled |
||
| 21 | */ |
||
| 22 | 36 | public function __construct(TypeGenerator $typeGenerator, $compiled = true) |
|
| 26 | 36 | } |
|
| 27 | |||
| 28 | /** |
||
| 29 | * {@inheritdoc} |
||
| 30 | */ |
||
| 31 | 36 | public function isOptional() |
|
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * {@inheritdoc} |
||
| 38 | */ |
||
| 39 | 35 | public function warmUp($cacheDir): void |
|
| 54 |