Route_Static
class Route_Static implements 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 $query = null)
\Yaf\Route_Static::assemble() - Assemble a url
Details
bool
match(string $uri)
deprecated
deprecated
No description
bool
route(Request_Abstract $request)
No description
bool
assemble(array $info, array $query = null)
\Yaf\Route_Static::assemble() - Assemble a url