Total Complexity | 3 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | class NamedExtendedPdoProvider implements ProviderInterface, SetContextInterface |
||
19 | { |
||
20 | private InjectorInterface $injector; |
||
21 | private string $context; |
||
22 | |||
23 | /** |
||
24 | * {@inheritDoc} |
||
25 | */ |
||
26 | public function setContext($context) |
||
27 | { |
||
28 | $this->context = $context; |
||
29 | } |
||
30 | |||
31 | public function __construct(InjectorInterface $injector) |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * {@inheritdoc} |
||
38 | */ |
||
39 | public function get(): ExtendedPdo |
||
47 |