RouterConfig::addRoute

Usage

void RouterConfig::addRoute(string $path, string $http_controller, [ string $host = 'default' ])

Description

Add route

Parameters

Parameter Required Type Description
$path Yes string
$http_controller Yes string
$host No string

Return Value

void

See Also