Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
39 | 3 | public function handle(RequestInterface $request): ResponseInterface |
|
40 | { |
||
41 | 3 | $cachePlugin = new CachePlugin($this->cache, $this->streamFactory, []); |
|
42 | |||
43 | 3 | $pluginClient = new PluginClient( |
|
44 | 3 | $this->client, |
|
45 | 3 | [$cachePlugin] |
|
46 | ); |
||
47 | 3 | return $pluginClient->sendRequest($request); |
|
48 | } |
||
50 |