Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
32 | public function getServices() |
||
33 | { |
||
34 | return [ |
||
35 | 2 | Client::class.$this->suffix => function(ContainerInterface $container) { |
|
36 | 2 | return new Client([ |
|
37 | 2 | 'host' => $container->get(Client::class.$this->suffix.'.host'), |
|
38 | 2 | 'port' => $container->get(Client::class.$this->suffix.'.port') |
|
39 | 2 | ]); |
|
40 | } |
||
41 | 2 | ]; |
|
42 | } |
||
43 | } |
||
44 |