编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « Yaf_Response_Abstract::__toString
  • Yaf_Route_Interface::assemble »
  • PHP Manual
  • Yaf
  • The Yaf_Route_Interface class

The Yaf_Route_Interface class

(Yaf >=1.0.0)

简介

Yaf_Route_Interface是Yaf路由协议的标准接口, 它的存在使得用户可以自定义路由协议

类摘要

Yaf_Route_Interface {
/* 方法 */
abstract public assemble ( array $info [, array $query ] ) : string
abstract public route ( Yaf_Request_Abstract $request ) : bool
}

Table of Contents

  • Yaf_Route_Interface::assemble — 将指定路由规则组合成一个url
  • Yaf_Route_Interface::route — route a request
相关文章
php yaf the yaf bootstrap abstract classphp yaf the yaf config abstract classphp yaf the yaf config ini classphp yaf the yaf loader classphp yaf the yaf plugin abstract classphp yaf the yaf registry classphp yaf the yaf route interface classphp yaf the yaf route map classphp yaf the yaf route regex classphp yaf the yaf route rewrite classphp yaf the yaf route simple classphp yaf the yaf route static classphp yaf the yaf route supervar classphp yaf the yaf view interface classphp yaf the yaf view simple classphp yaf route interface 将指定路由规则组合成一个urlphp yaf route interface route a requestphp yaf route rewrite the route purposephp yaf route simple 组合urlphp yaf router the route purpose
关注编程学问公众号
编程学问网 湘ICP备20001732号