Conditions | 1 |
Paths | 1 |
Total Lines | 18 |
Code Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
21 | protected function defaultSegments(): array |
||
22 | { |
||
23 | return [ |
||
24 | 'uri' => [ |
||
25 | 'class' => ContactListGetAllMiddleware::class, |
||
26 | 'logger' => $this->getLogger() |
||
27 | ], |
||
28 | 'cache' => [ |
||
29 | 'class' => CacheMiddleware::class, |
||
30 | 'pool' => $this->cache, |
||
31 | 'logger' => $this->getLogger() |
||
32 | ], |
||
33 | 'client' => [ |
||
34 | 'class' => Client::class, |
||
35 | 'logger' => $this->getLogger() |
||
36 | ] |
||
37 | ]; |
||
38 | } |
||
39 | } |
||
40 |