| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php namespace Ntholenaar\MultiSafepayClient\Http\Plugin; |
||
| 24 | public function handleRequest(RequestInterface $request, callable $next, callable $first) |
||
| 25 | { |
||
| 26 | $path = $this->path . $request->getUri()->getPath(); |
||
| 27 | |||
| 28 | $request = $request->withUri( |
||
| 29 | $request->getUri()->withPath($path) |
||
| 30 | ); |
||
| 31 | |||
| 32 | return $next($request); |
||
| 33 | } |
||
| 34 | } |
||
| 35 |