Property | Type | Description | |
---|---|---|---|
$callbacks | |||
$error_callback | |||
$halts | |||
$methods | |||
$patterns | |||
$routes |
Method | Description | |
---|---|---|
__callstatic ( $method, $params ) | Defines a route w/ callback and method | |
dispatch ( ) | Runs the callback for the given request | |
error ( $callback ) | Defines callback if route is not found | |
haltOnMatch ( $flag = true ) |
public static __callstatic ( $method, $params ) |
public static error ( $callback ) |