Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Phprest
Response
Created
PHP Class Phprest\Response\Created
Inheritance:
extends
Phprest\HttpFoundation\Response
Show file
Open project: phprest/phprest
Class Usage Examples
Public Methods
Method
Description
__construct
(
string
$location
,
mixed
$content
= '',
array
$headers
= [] )
Method Details
__construct()
public
method
public
__construct
(
string
$location
,
mixed
$content
= '',
array
$headers
= [] )
$location
string
The value of the Location header
$content
mixed
The response content, see setContent()
$headers
array
An array of response headers