1 | <?php |
||
19 | class JsonSchemaCacheWarmer implements CacheWarmerInterface |
||
20 | { |
||
21 | /** |
||
22 | * @var CachedSchemaStorage |
||
23 | */ |
||
24 | private $cachedSchemaStorage; |
||
25 | |||
26 | public function __construct(CachedSchemaStorage $cachedSchemaStorage) |
||
30 | |||
31 | /** |
||
32 | * {@inheritdoc} |
||
33 | */ |
||
34 | public function isOptional() |
||
35 | { |
||
36 | return true; |
||
37 | } |
||
38 | |||
39 | /** |
||
40 | * {@inheritdoc} |
||
41 | */ |
||
42 | public function warmUp($cacheDir) |
||
46 | } |
||
47 |