Zend\Uri\Uri::setQuery
Set the query string
If an array is provided, will encode this array of parameters into a query string. Array values will be represented in the query string using PHP's common square bracket notation.
Signature
public function setQuery(string|array
$query )
Parameters
$query
— object
Returns
- Uri