public function addRoute($httpMethod, $route, $handler) {
        $route = $this->groupCurrent . $route;
        $this->routes[] = [
            'httpMethod' => $httpMethod,
            'route' => $route,
            'handler' => $handler,
        ];
    }
public function addRoute($httpMethod, $route, $handler) {
        $route = $this->groupCurrent . $route;
        $this->routes[] = [
            'httpMethod' => $httpMethod,
            'route' => $route,
            'handler' => $handler,
        ];
    }
public function addRoute ( $ httpMethod , $ route , $ handler ) { $ route = $ this -> groupCurrent . $ route ; $ this -> routes [ ] = [ 'httpMethod' => $ httpMethod , 'route' => $ route , 'handler' => $ handler , ] ; }
Add route handling
@param string|string[] $httpMethod
@param string $route
@param mixed $handler
Add route handling