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