Total Complexity | 3 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
10 | final class Dependencies implements ConfigPartInterface |
||
11 | { |
||
12 | const PART_KEY = 'dependencies'; |
||
13 | |||
14 | /** |
||
15 | * @var DataProviderInterface |
||
16 | */ |
||
17 | private $dataProvider; |
||
18 | |||
19 | 2 | public function __construct(DataProviderInterface $dataProvider) |
|
20 | { |
||
21 | 2 | $this->dataProvider = $dataProvider; |
|
22 | 2 | } |
|
23 | |||
24 | /** |
||
25 | * @inheritdoc |
||
26 | */ |
||
27 | 2 | public function getConfig(): array |
|
41 | ], |
||
42 | ]; |
||
43 | } |
||
44 | |||
45 | /** |
||
46 | * @inheritdoc |
||
47 | */ |
||
48 | 2 | public function getCode(): string |
|
51 | } |
||
52 | } |
||
53 |