AutoRouterInterface
in
Expected behavior of a AutoRouter.
Table of Contents
Methods
- getRoute() : array<string|int, mixed>
- Returns controller, method and params from the URI.
Methods
getRoute()
Returns controller, method and params from the URI.
public
getRoute(string $uri, string $httpVerb) : array<string|int, mixed>
Parameters
- $uri : string
- $httpVerb : string
Return values
array<string|int, mixed> —[directory_name, controller_name, controller_method, params]