public final function match(&$routePath)
{
$this->value = null;
if ($this->name === null || $this->name === '') {
return false;
}
$valueToMatch = $this->findValueToMatch($routePath);
$matchResult = $this->matchValue($valueToMatch);
if ($matchResult !== true) {
return $matchResult;
}
$this->removeMatchingPortionFromRequestPath($routePath, $valueToMatch);
return true;
}