| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 74 lines (4 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
Response:: (4 methods):
__construct()
getStatusCode()
getReasonPhrase()
withStatus()
| __construct(int $status = 200, array $headers = [], $body = null, string $version = '1.1', ?string $reason = null) X-Ref |
param: int $status Status code param: array $headers Response headers param: string|resource|StreamInterface|null $body Response body param: string $version Protocol version param: string|null $reason Reason phrase (when empty a default will be used based on the status code) |
| getStatusCode() X-Ref |
| No description |
| getReasonPhrase() X-Ref |
| No description |
| withStatus($code, $reasonPhrase = '') X-Ref |
return: static |
| Generated : Sat Jun 13 09:38:55 2026 | Cross-referenced by PHPXref |