public static function createFromRequest(RequestInterface $request)
 {
     return new self($request->getMethod(), $request->getPath());
 }
 public function __invoke(RequestInterface $request)
 {
     return new Response(Response::HTTP_OK, $request->getScheme(), $request->getSchemeVersion(), ['Content-Type' => 'application/json'], json_encode(['Hello' => 'World!']));
 }