Total Complexity | 2 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Coverage | 60% |
Changes | 0 |
1 | <?php |
||
9 | abstract class AbstractDependencyProvider implements DependencyProviderInterface |
||
10 | { |
||
11 | /** |
||
12 | * @var ConfigInterface |
||
13 | */ |
||
14 | protected $config; |
||
15 | |||
16 | /** |
||
17 | * AbstractDependencyProvider constructor. |
||
18 | * |
||
19 | * @param \Xervice\Core\Business\Model\Config\ConfigInterface $config |
||
20 | */ |
||
21 | 1 | public function __construct(ConfigInterface $config) |
|
22 | { |
||
23 | 1 | $this->config = $config; |
|
24 | 1 | } |
|
25 | |||
26 | /** |
||
27 | * @return \Xervice\Core\Business\Model\Config\ConfigInterface |
||
28 | */ |
||
29 | protected function getConfig(): ConfigInterface |
||
32 | } |
||
33 | } |