/** * 应用初始化操作 * * @param WindHttpRequest $request * @param WindHttpResponse $response * @param WindFactory $factory */ public function __construct($request, $factory) { $this->response = $request->getResponse(); $this->request = $request; $this->windFactory = $factory; }