Total Complexity | 1 |
Total Lines | 13 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | final class Stream implements StreamInterface |
||
10 | { |
||
11 | use StreamTrait; |
||
12 | |||
13 | /** |
||
14 | * @param string|resource $stream The stream to use. Must be one of the following: |
||
15 | * - a string stream identifier (e.g., 'php://temp') or a file path; |
||
16 | * - a valid stream resource. |
||
17 | * @param string $mode The mode in which to open the stream. |
||
18 | */ |
||
19 | 118 | public function __construct($stream = 'php://temp', string $mode = 'wb+') |
|
24 |