/**
  * Merge parameters from another match.
  *
  * @param  RouteMatch $match
  * @return RouteMatch
  */
 public function merge(RouteMatch $match)
 {
     $this->params = array_merge($this->params, $match->getParams());
     $this->length += $match->getLength();
     $this->matchedRouteName = $match->getMatchedRouteName();
     return $this;
 }