[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/laminas/laminas-diactoros/src/Response/ -> EmptyResponse.php (summary)

(no description)

Copyright: https://github.com/laminas/laminas-diactoros/blob/master/COPYRIGHT.md
License: https://github.com/laminas/laminas-diactoros/blob/master/LICENSE.md New BSD License
File Size: 43 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

EmptyResponse:: (2 methods):
  __construct()
  withHeaders()


Class: EmptyResponse  - X-Ref

A class representing empty HTTP responses.

__construct(int $status = 204, array $headers = [])   X-Ref
Create an empty response with the given status code.

param: int $status Status code for the response, if any.
param: array $headers Headers for the response, if any.

withHeaders(array $headers)   X-Ref
Create an empty response with the given headers.

param: array $headers Headers for the response.
return: EmptyResponse



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer