Conditions | 1 |
Paths | 1 |
Total Lines | 19 |
Code Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
27 | protected function defaultSegments(): array |
||
28 | { |
||
29 | return [ |
||
30 | 'uri' => [ |
||
31 | 'class' => CompanyByDomainMiddleware::class, |
||
32 | 'domain' => $this->domain, |
||
33 | 'logger' => $this->getLogger() |
||
34 | ], |
||
35 | 'cache' => [ |
||
36 | 'class' => CacheMiddleware::class, |
||
37 | 'pool' => $this->cache, |
||
38 | 'logger' => $this->getLogger() |
||
39 | ], |
||
40 | 'client' => [ |
||
41 | 'class' => Client::class, |
||
42 | 'logger' => $this->getLogger() |
||
43 | ] |
||
44 | ]; |
||
45 | } |
||
46 | } |
||
47 |