Total Complexity | 3 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class NoCache implements CacheInterface |
||
8 | { |
||
9 | /** |
||
10 | * @inheritDoc |
||
11 | */ |
||
12 | 9 | public function getCachedPathToFiles(array $pathToFiles, int $configNumber, string $pathToCacheDir): array |
|
13 | { |
||
14 | 9 | return $pathToFiles; |
|
15 | } |
||
16 | |||
17 | /** |
||
18 | * @inheritDoc |
||
19 | */ |
||
20 | 9 | public function cacheFiles(array $pathToFiles, int $configNumber, string $pathToCacheDir): void |
|
22 | // do nothing |
||
23 | 9 | } |
|
24 | |||
25 | /** |
||
26 | * @inheritDoc |
||
27 | */ |
||
28 | 9 | public function deleteCacheFileIfConfigFileWasChanged(string $pathToConfigFile, string $pathToCacheDir): void |
|
30 | // do nothing |
||
31 | 9 | } |
|
33 |