You may use the isMethod method to verify that the HTTP verb matches a given string: $method = $request->method();. if ($request->isMethod('post')) {.
確定! 回上一頁