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