Total Complexity | 3 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class ContainerAdapter implements Provider |
||
11 | { |
||
12 | /** |
||
13 | * @var ContainerInterface |
||
14 | */ |
||
15 | private $container; |
||
16 | |||
17 | public function __construct(ContainerInterface $container) |
||
18 | { |
||
19 | $this->container = $container; |
||
20 | } |
||
21 | |||
22 | public function provide(string $id) |
||
25 | } |
||
26 | |||
27 | public function canProvide(string $id): bool |
||
32 |