메소드 | 설명 | |
---|---|---|
__construct ( integer $status = 204, array $headers = [] ) | Create an empty response with the given status code. | |
withHeaders ( array $headers ) : |
Create an empty response with the given headers. |
public __construct ( integer $status = 204, array $headers = [] ) | ||
$status | integer | Status code for the response, if any. |
$headers | array | Headers for the response, if any. |
public static withHeaders ( array $headers ) : |
||
$headers | array | Headers for the response. |
리턴 |