src/Routes/RouterAbstract.php
protected function registerControllerNoAnnotations($className) {
        /** @var Controller $controller */
        $controller = new $className();
        $routes = $controller->routes();
        $group = $controller->group();
        if (empty($routes)) {
            return;
        }
        foreach ($routes as $row) {
            $method = $row['method'];
            $route = $group . $row['route'];
            $handlerName = $row['handler'];
            $actionId = Controller::getActionId($handlerName);
            $this->addRoute($method, $route, [$controller, $actionId]);
        }
    }
protected function registerControllerNoAnnotations($className) {
        /** @var Controller $controller */
        $controller = new $className();
        $routes = $controller->routes();
        $group = $controller->group();
        if (empty($routes)) {
            return;
        }
        foreach ($routes as $row) {
            $method = $row['method'];
            $route = $group . $row['route'];
            $handlerName = $row['handler'];
            $actionId = Controller::getActionId($handlerName);
            $this->addRoute($method, $route, [$controller, $actionId]);
        }
    }
Register controller that does not use Annotations
@param string|Controller $className