ServerRequest
class ServerRequest implements ServerRequestInterface (View source)
Methods
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Details
final
__construct(ServerRequestInterface $serverRequest)
No description
getProtocolVersion()
No description
withProtocolVersion($version)
No description
getHeaders()
No description
hasHeader($name)
No description
getHeader($name)
No description
getHeaderLine($name)
No description
withHeader($name, $value)
No description
withAddedHeader($name, $value)
No description
withoutHeader($name)
No description
getBody()
No description
withBody(StreamInterface $body)
No description
getRequestTarget()
No description
withRequestTarget($requestTarget)
No description
getMethod()
No description
withMethod($method)
No description
getUri()
No description
withUri(UriInterface $uri, $preserveHost = false)
No description
getServerParams()
No description
getCookieParams()
No description
withCookieParams(array $cookies)
No description
getQueryParams()
No description
withQueryParams(array $query)
No description
getUploadedFiles()
No description
withUploadedFiles(array $uploadedFiles)
No description
getParsedBody()
No description
withParsedBody($data)
No description
getAttributes()
No description
getAttribute($name, $default = null)
No description
withAttribute($name, $value)
No description
withoutAttribute($name)
No description
mixed
getParam(string $param, mixed $default = null)
No description
mixed
getParsedBodyParam(string $param, mixed $default = null)
No description
mixed
getQueryParam(string $param, mixed $default = null)
No description
bool
isPost()
No description
string
getRoute()
No description
bool
has(string $param)
No description
bool
hasQueryParam(string $param)
No description
bool
hasBodyParam(string $param)
No description
bool
isAjax()
No description
string
getParsedBodyParamAsString(string $param, string|null $default = null)
No description
string|null
getParsedBodyParamAsStringOrNull(string $param, string|null $default = null)
No description