Laravel_V4_Request
2016-05-10 16:40:04 1 举报
Laravel请求
作者其他创作
大纲/内容
Laravel/Application.php
Call route's action
Calls route before filters
Laravel/Route.php
Find route
Calls 'down' listener if needed
Calls shutdown callbacks
Call Router's dispatch
Calls route after filters
public/index.php
Laravel/router.php
Terminate middleware
Run route
Pass Response up middleware
send Response to user
1.Call 'down' listener if needed 主要指是否处于Maintenance Mode Handler,然后继续执行。2.App filter包含App::before()与App::after()。3. Middleware shutdown继承自TerminableInterface接口。4.Finish callbacks使用App::finish()。5.Shutdown callbacks使用App::shutdown()。
All Done
Calls app after filters
Call app before filters
Call finish callbacks
0 条评论
回复 删除
下一页