Total Complexity | 2 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
13 | final class GraphQLHandler implements RequestHandlerInterface |
||
14 | { |
||
15 | /** |
||
16 | * @var Server |
||
17 | */ |
||
18 | private $server; |
||
19 | |||
20 | public function __construct(Server $server) |
||
21 | { |
||
22 | $this->server = $server; |
||
23 | } |
||
24 | |||
25 | /** |
||
26 | * Process an incoming server request and return a response, optionally delegating |
||
27 | * to the next middleware component to create the response. |
||
28 | */ |
||
29 | public function handle(ServerRequestInterface $request): ResponseInterface |
||
34 | } |
||
35 | } |
||
36 |