Laravel类使用指南?

发布于 2025-01-24 18:00:52 字数 1551 浏览 2 评论 0 原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

闻呓 2025-01-31 18:00:53

您可以在API中找到有关Laravel类的更多信息。
在照明\ http \响应和照明\ support \ after \ facades \响应的情况下,您可以在这里找到它们:

https://laravel.com/api/master/illuminate/http/response.html

。 This is answered here (in the comments):

本网站似乎提供了有关响应对象的更多信息:

https://laravel-guide.readthedocs.io/en/latest/responses/

You can find more information about the Laravel classes in the API.
In the case of Illuminate\Http\Response and Illuminate\Support\Facades\Response, you can find them here:

https://laravel.com/api/master/Illuminate/Http/Response.html
https://laravel.com/api/master/Illuminate/Support/Facades/Response.html

If you want more info on the difference between Illuminate\Http\Response and Illuminate\Support\Facades\Response, the facade doesn't have the header method. This is answered here (in the comments):

Laravel 5.2- Call to undefined method Illuminate\Support\Facades\Response::header()

This website seems to give more information on response objects:

https://laravel-guide.readthedocs.io/en/latest/responses/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文