Total Complexity | 2 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
12 | class CloseDbConnectionMiddleware implements MiddlewareInterface |
||
13 | { |
||
14 | /** @var EntityManagerInterface */ |
||
15 | private $em; |
||
16 | |||
17 | public function __construct(EntityManagerInterface $em) |
||
20 | } |
||
21 | |||
22 | /** |
||
23 | * Process an incoming server request and return a response, optionally delegating |
||
24 | * response creation to a handler. |
||
25 | */ |
||
26 | public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
||
34 |