| 1 | <?php |
||
| 10 | class PathPrefixingHandler implements RequestHandlerInterface |
||
| 11 | { |
||
| 12 | /** @var RequestHandlerInterface */ |
||
| 13 | private $wrapped; |
||
| 14 | |||
| 15 | /** @var string */ |
||
| 16 | private $prefix; |
||
| 17 | |||
| 18 | 4 | public function __construct(RequestHandlerInterface $wrapped, $prefix) |
|
| 23 | |||
| 24 | /** |
||
| 25 | * Handle the request and return a response. |
||
| 26 | */ |
||
| 27 | 1 | public function handle(ServerRequestInterface $request): ResponseInterface |
|
| 38 | } |
||
| 39 |