protected function parsePath($path)
    {
        $uriParams = array();
        $uriParamsCount = preg_match_all("/(:[^\/]*)/", $path, $uriParams);
        $translateParams = array();

        foreach ($uriParams[0] as $rawParam) {
            $param = str_replace(':', '', $rawParam);
            $this->addParameter($param, 'uri', true);

            $translateParams[$rawParam] = '{'.$param.'}';
        }

        $this->uri = strtr($path, $translateParams);
    }