Yaf_Route_Regex::route()
(Yaf >=1.0.0)
The route purpose
说明
public Yaf_Route_Regex::route(Yaf_Request_Abstract$request): bool
路由一个传进来的请求。
Warning本函数还未编写文档,仅有参数列表。
参数
- $request
返回值
如果正则表达式是Yaf_Route_Regex::_construct()的第一个参数,并且匹配了请求uri,返回TRUE,否则返回FALSE。