Solar_Uri::setQuery()

public void Solar_Uri::setQuery ( string $spec )

Sets the query string in the URI, for Solar_Uri::getQuery() and Solar_Uri::$query.

Parameters

  • (string) $spec: The query string to use; for example, foo=bar&baz=dib.

Returns

  • (void)

Description

Sets the query string in the URI, for Solar_Uri::getQuery() and Solar_Uri::$query.

This will overwrite any previous values.



Local