Loading [MathJax]/jax/output/CommonHTML/config.js
首页
学习
活动
专区
圈层
工具
发布

Yaf_Plugin_Abstract::routerStartup

(Yaf >=1.0.0)

Yaf_Plugin_Abstract::routerStartup — RouterStartup hook

描述

代码语言:javascript
复制
public void Yaf_Plugin_Abstract::routerStartup ( Yaf_Request_Abstract $request , Yaf_Response_Abstract $response )

这是Yaf插件hook系统中最早的hook,如果自定义插件实现此方法,那么它将在路由请求之前被调用。

警告

此功能目前没有记录; 只有它的参数列表可用。

参数

request response

返回值

扩展内容

  • Yaf_Plugin_Abstract :: routerShutdown() - routerShutdown的用途
  • Yaf_Plugin_Abstract :: dispatchLoopStartup() - dispatchLoopStartup的用途
  • Yaf_Plugin_Abstract :: preDispatch() - preDispatch的用途
  • Yaf_Plugin_Abstract :: postDispatch() - postDispatch的用途
  • Yaf_Plugin_Abstract :: dispatchLoopShutdown() - dispatchLoopShutdown的用途

← Yaf_Plugin_Abstract::routerShutdown

Yaf_Registry →

扫码关注腾讯云开发者

领取腾讯云代金券

首页
学习
活动
专区
圈层
工具
MCP广场