*
* Converts a path into a set of parameters, and vice versa
*
- * We used to use Net_URL_Mapper, so there's a wrapper class at Router, q.v.
+ * We used to use URLMapper, so there's a wrapper class at Router, q.v.
*
* NUM's vagaries are the main reason we have weirdnesses here.
*
}
}
- $regex = $this->makeRegex($path, $paramPatterns);
+ $regex = self::makeRegex($path, $paramPatterns);
$this->variables[] = array($args, $regex, $paramNames);
return $match['name'];
}
- protected function makeRegex($path, $paramPatterns)
+ static function makeRegex($path, $paramPatterns)
{
$pr = new PatternReplacer($paramPatterns);