# 总结

进入Laravel应用程序的每个请求都被转换成一个Illuminate请求对象，然后该对象通过所有中间件并由应用程序处理。应用程序生成一个响应对象，然后通过所有中间件（按相反的顺序）返回给最终用户。

请求和响应对象负责封装和表示有关传入用户请求和传出服务器响应的每条相关信息.

服务提供者收集相关行为用于绑定和注册class.

中间件包装应用程序，可以拒绝或修饰任何请求和响应。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://liseen315.gitbook.io/laravel/qing-qiu-xiang-ying-he-zhong-jian-jian/zong-jie.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
