Yaf_Route_Static
class Yaf_Route_Static implements Yaf_Route_Interface (View source)
by default, Yaf_Router only have a Yaf_Route_Static as its default route.
Yaf_Route_Static is designed to handle 80% of normal requirements.
Note:
it is unnecessary to instance a Yaf_Route_Static, also unnecessary to add it into Yaf_Router's routes stack, since there is always be one in Yaf_Router's routes stack, and always be called at the last time.
Methods
bool
bool
bool
assemble(array $info, array|null $query = null)
Yaf_Route_Static::assemble() - Assemble a url
Details
bool
match(string $uri)
deprecated
deprecated
No description
bool
route(Yaf_Request_Abstract $request)
No description
bool
assemble(array $info, array|null $query = null)
Yaf_Route_Static::assemble() - Assemble a url