1 | <?php |
||
10 | class ControllerSchemaValidationCheckSubscriber implements CacheWarmerInterface |
||
11 | { |
||
12 | /** |
||
13 | * @var SchemaFilesExistenceChecker |
||
14 | */ |
||
15 | protected $schemaFilesExistenceChecker; |
||
16 | |||
17 | /** |
||
18 | * @var bool |
||
19 | */ |
||
20 | protected $isDebugMode; |
||
21 | |||
22 | /** |
||
23 | * @param SchemaFilesExistenceChecker $schemaFilesExistenceChecker |
||
24 | * @param bool $isDebugMode |
||
25 | */ |
||
26 | 6 | public function __construct(SchemaFilesExistenceChecker $schemaFilesExistenceChecker, bool $isDebugMode) |
|
31 | |||
32 | /** |
||
33 | * {@inheritdoc} |
||
34 | */ |
||
35 | 6 | public function isOptional(): bool |
|
39 | |||
40 | /** |
||
41 | * {@inheritdoc} |
||
42 | */ |
||
43 | 6 | public function warmUp($cacheDir): void |
|
47 | } |
||
48 |