Total Complexity | 7 |
Total Lines | 43 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 1 | Features | 1 |
1 | <?php declare(strict_types=1); |
||
12 | class AnyDependency extends Dependency |
||
13 | { |
||
14 | /** |
||
15 | * @var Dependency[] |
||
16 | */ |
||
17 | private $dependencies; |
||
18 | |||
19 | /** |
||
20 | * @param Dependency[] $dependencies list of dependencies that this dependency is composed of. |
||
21 | * Each array element must be a dependency object. |
||
22 | */ |
||
23 | 1 | public function __construct(array $dependencies = []) |
|
26 | } |
||
27 | |||
28 | 1 | public function evaluateDependency(CacheInterface $cache): void |
|
32 | } |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * @codeCoverageIgnore method is not used |
||
37 | * |
||
38 | * @param CacheInterface $cache |
||
39 | * @return null |
||
40 | */ |
||
41 | protected function generateDependencyData(CacheInterface $cache) |
||
42 | { |
||
43 | return null; |
||
44 | } |
||
45 | |||
46 | 1 | public function isChanged(CacheInterface $cache): bool |
|
55 | } |
||
56 | } |
||
57 |