public function withClassParameters(array $parameters) : RouteMatch
    {
        $routeMatch = clone $this;
        $routeMatch->classParameters = $parameters + $this->classParameters;

        return $routeMatch;
    }
public function withClassParameters(array $parameters) : RouteMatch
    {
        $routeMatch = clone $this;
        $routeMatch->classParameters = $parameters + $this->classParameters;

        return $routeMatch;
    }
public function withClassParameters ( array $ parameters ) : RouteMatch { $ routeMatch = clone $ this ; $ routeMatch -> classParameters = $ parameters + $ this -> classParameters ; return $ routeMatch ; }
Returns a copy of this RouteMatch, with additional class parameters.

Parameters with the same name will override current parameters.
This RouteMatch instance is immutable, and unaffected by this method call.

@param array $parameters An associative array of class parameters.

@return RouteMatch
Returns a copy of this RouteMatch with additional class parameters .