public function enableSegMatch(
        string $namespace,
        array $params = [],
        string $prepend = "",
        string $defaultMethod = "index"
    ): Dispatcher {
        $this->segBasedMatch = [
            "enabled"       =>  true,
            "uriPrepend"    =>  $prepend,
            "controller"    =>  [
                "namespace"     =>  $namespace,
                "defaultMethod" =>  $defaultMethod,
                "params"        =>  $params
            ]
        ];
        return $this;
    }