createController() public method
Creates a controller instance based on the given route. The route should be relative to this module. The method implements the following algorithm to resolve the given route: If the route is empty, use $defaultRoute; If the first segment of the route is a valid module ID as declared in $modules, call the module's createController() with the rest part of the route; If the first segment of the route is found in $controllerMap, create a controller based on the