创建Response对象
public static create ( mixed $data = '', string $type = '', integer $code = 200, array $header = [], array $options = [] ) : |
||
$data | mixed | 输出数据 |
$type | string | 输出类型 |
$code | integer | |
$header | array | |
$options | array | 输出参数 |
return |