1 | <?php |
||
28 | class StreamResponse extends Response implements ICallbackResponse { |
||
29 | |||
30 | /** |
||
31 | * @var resource |
||
32 | */ |
||
33 | protected $stream; |
||
34 | |||
35 | /** |
||
36 | * @param resource $stream |
||
37 | */ |
||
38 | public function __construct ($stream) { |
||
41 | |||
42 | |||
43 | /** |
||
44 | * Streams the file using fpassthru |
||
45 | * |
||
46 | * @param IOutput $output a small wrapper that handles output |
||
47 | * @since 8.1.0 |
||
48 | */ |
||
49 | public function callback (IOutput $output) { |
||
54 | |||
55 | } |
||
56 |