1 | <?php |
||
18 | class Psr7_data_stream { |
||
19 | /** |
||
20 | * PSR7 request body stream is injected here |
||
21 | * |
||
22 | * @var \Psr\Http\Message\StreamInterface |
||
23 | */ |
||
24 | public static $stream; |
||
25 | /** |
||
26 | * @var array |
||
27 | */ |
||
28 | protected $stat = []; |
||
29 | |||
30 | function stream_open ($path, $mode) { |
||
51 | /** |
||
52 | * @param int $length |
||
53 | * |
||
54 | * @return false|string |
||
55 | */ |
||
56 | function stream_read ($length) { |
||
63 | /** |
||
64 | * @return false|int |
||
65 | */ |
||
66 | function stream_tell () { |
||
73 | /** |
||
74 | * @return bool |
||
75 | */ |
||
76 | function stream_eof () { |
||
79 | /** |
||
80 | * @param int $offset |
||
81 | * @param int $whence |
||
82 | * |
||
83 | * @return int |
||
84 | */ |
||
85 | function stream_seek ($offset, $whence = SEEK_SET) { |
||
92 | /** |
||
93 | * @return array |
||
94 | */ |
||
95 | function stream_stat () { |
||
98 | } |
||
99 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.