PHP 8.6.0 Beta 3 is available for testing

The Yaf_Route_Static class

(Yaf >=1.0.0)

Introduzione

Yaf_Route_Static is the default route of Yaf_Router: it parses the URI path as /module/controller/action segments and is designed to handle most routing needs out of the box.

Nota:

It is unnecessary to instantiate a Yaf_Route_Static, or to add it to the route stack of Yaf_Router: there is always one present in the stack, and it is always tried last.

Sommario della classe

class Yaf_Route_Static implements Yaf_Router {
/* Metodi */
public function assemble(array $info, array $query = ?): string
public function match(string $uri): bool
public function route(Yaf_Request_Abstract $request): bool
}

Indice dei contenuti

add a note

User Contributed Notes

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