Total Complexity | 3 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
22 | final class RequestContext extends SymfonyRequestContext |
||
23 | { |
||
24 | |||
25 | /** |
||
26 | * Create a RequestContext object from a PSR-7 ServerRequestInterface object. |
||
27 | * |
||
28 | * @param ServerRequestInterface $request The PSR-7 ServerRequestInterface object. |
||
29 | * @param string $baseUrl The base URL for the request context (optional). |
||
30 | * |
||
31 | * @return RequestContext The created RequestContext object. |
||
32 | */ |
||
33 | public function fromPsrRequest(ServerRequestInterface $request, string $baseUrl = ''): RequestContext |
||
51 |