PHP 8.1.0 Beta 1 available for testing

The Yaf_Route_Regex class

(Yaf >=1.0.0)

简介

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

类摘要

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

属性

_route

_default

_maps

_verify

目录

add a note add a note

User Contributed Notes

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