WordPress\AiClientDependencies\Nyholm\Psr7
ServerRequest::withQueryParams
Method of the class: ServerRequest{}
No Hooks.
Returns
static.
Usage
$ServerRequest = new ServerRequest(); $ServerRequest->withQueryParams( $query ): ServerRequestInterface;
- $query(array) (required)
- .
ServerRequest::withQueryParams() ServerRequest::withQueryParams code WP 7.0
public function withQueryParams(array $query): ServerRequestInterface
{
$new = clone $this;
$new->queryParams = $query;
return $new;
}