*/ interface RequestHandlerInterface { /** * Check if this handler supports the given request. */ public function supports(Request $request): bool; /** * Handle the request and return a response or error. * * @return Response|Error */ public function handle(Request $request): Response|Error; }