Yaf_Route_Regex 类

(Yaf >=1.0.0)

简介

Yaf_Route_Regex 是 Yaf 内置的路由中最灵活的。

类摘要

class Yaf_Route_Regex extends Yaf_Route_Interface implements Yaf_Route_Interface {
/* 属性 */
protected $_route;
protected $_default;
protected $_maps;
protected $_verify;
/* 方法 */
public __construct(
    string $match,
    array $route,
    array $map = ?,
    array $verify = ?,
    string $reverse = ?
)
public assemble(array $info, array $query = ?): ?string
public route(Yaf_Request_Abstract $request): bool
/* 继承的方法 */
abstract public Yaf_Route_Interface::assemble(array $info, array $query = ?): string
}

属性

_route

_default

_maps

_verify

目录

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top