1 | <?php declare(strict_types=1); |
||
2 | |||
3 | /* |
||
4 | * This file is part of indragunawan/rest-service package. |
||
5 | * |
||
6 | * (c) Indra Gunawan <[email protected]> |
||
7 | * |
||
8 | * For the full copyright and license information, please view the LICENSE |
||
9 | * file that was distributed with this source code. |
||
10 | */ |
||
11 | |||
12 | namespace IndraGunawan\RestService; |
||
13 | |||
14 | use GuzzleHttp\Psr7\Response as BaseResponse; |
||
15 | |||
16 | class StreamResult extends BaseResponse |
||
17 | { |
||
18 | 1 | public function __construct( |
|
19 | $status = 200, |
||
20 | array $headers = [], |
||
21 | $body = null, |
||
22 | $version = '1.1', |
||
23 | $reason = null |
||
24 | ) { |
||
25 | 1 | parent::__construct($status, $headers, $body, $version, $reason); |
|
26 | 1 | } |
|
27 | } |
||
28 |