AutoRouterInterface
in
Expected behavior of a AutoRouter.
Table of Contents
Methods
-
getRoute()
: array{string|null, string, string, list
} - Returns the directory name, controller name, controller method, and any parameters for the given URI and HTTP verb.
Methods
getRoute()
Returns the directory name, controller name, controller method, and any parameters for the given URI and HTTP verb.
public
getRoute(string $uri, string $httpVerb) : array{string|null, string, string, list}
Parameters
- $uri : string
- $httpVerb : string
-
HTTP verb like
GET,POST