[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/php-ai-client/third-party/Nyholm/Psr7/ -> ServerRequest.php (summary)

(no description)

File Size: 166 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ServerRequest:: (14 methods):
  __construct()
  getServerParams()
  getUploadedFiles()
  withUploadedFiles()
  getCookieParams()
  withCookieParams()
  getQueryParams()
  withQueryParams()
  getParsedBody()
  withParsedBody()
  getAttributes()
  getAttribute()
  withAttribute()
  withoutAttribute()


Class: ServerRequest  - X-Ref


__construct(string $method, $uri, array $headers = [], $body = null, string $version = '1.1', array $serverParams = [])   X-Ref

param: string $method HTTP method
param: string|UriInterface $uri URI
param: array $headers Request headers
param: string|resource|StreamInterface|null $body Request body
param: string $version Protocol version
param: array $serverParams Typically the $_SERVER superglobal

getServerParams()   X-Ref
No description

getUploadedFiles()   X-Ref
No description

withUploadedFiles(array $uploadedFiles)   X-Ref

return: static

getCookieParams()   X-Ref
No description

withCookieParams(array $cookies)   X-Ref

return: static

getQueryParams()   X-Ref
No description

withQueryParams(array $query)   X-Ref

return: static

getParsedBody()   X-Ref

return: array|object|null

withParsedBody($data)   X-Ref

return: static

getAttributes()   X-Ref
No description

getAttribute($attribute, $default = null)   X-Ref

return: mixed

withAttribute($attribute, $value)   X-Ref

return: static

withoutAttribute($attribute)   X-Ref

return: static



Generated : Sat Jun 13 09:38:55 2026 Cross-referenced by PHPXref