Interface for a routing rule.
Without implementing this interface, a rule will not be able to be added via XenForo_Router::addRule().
| package | XenForo_Mvc |
|---|
match(string $routePath, \Zend_Controller_Request_Http $request, \XenForo_Router $router) : false | \XenForo_RouteMatch
Should return false if no matching happened or a XenForo_RouteMatch if some level of matching happened. If no XenForo_RouteMatch::$controllerName is returned, the XenForo_Router will continue to the next rule.
stringRouting path
\Zend_Controller_Request_HttpRequest object
false\XenForo_RouteMatch