RouterConfig::addRoute
Usage
void RouterConfig::addRoute(string $path, string $http_controller, [ string $host = 'default' ])Description
Add routeParameters
| Parameter | Required | Type | Description |
|---|---|---|---|
| $path | Yes | string | |
| $http_controller | Yes | string | |
| $host | No | string |