function RequestContext::setQueryString
Sets the query string.
Return value
$this
2 calls to RequestContext::setQueryString()
- RequestContext::fromRequest in vendor/
symfony/ routing/ RequestContext.php - Updates the RequestContext information based on a HttpFoundation Request.
- RequestContext::__construct in vendor/
symfony/ routing/ RequestContext.php
File
-
vendor/
symfony/ routing/ RequestContext.php, line 248
Class
- RequestContext
- Holds information about the current request.
Namespace
Symfony\Component\RoutingCode
public function setQueryString(?string $queryString) : static {
// string cast to be fault-tolerant, accepting null
$this->queryString = (string) $queryString;
return $this;
}