Conditions | 2 |
Paths | 2 |
Total Lines | 7 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
47 | public function stream_open(string $path, string $mode, int $options, &$opened_path): bool |
||
48 | { |
||
49 | $options = stream_context_get_options($this->context); |
||
50 | |||
51 | $this->stream = $options[self::NAME]['stream'] ?? null; |
||
52 | |||
53 | return $this->stream instanceof StreamInterface && $this->stream->isReadable(); |
||
54 | } |
||
77 |