| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 32 | 34 | public function __construct($stream, $readLength = self::READ_LENGTH, $minSize = -1) |
|
| 33 | { |
||
| 34 | 34 | $this->stream = $stream; |
|
| 35 | 34 | $this->readLength = $readLength; |
|
| 36 | 34 | $this->position = ftell($stream); |
|
| 37 | 34 | $this->minSize = $minSize; |
|
| 38 | 34 | $this->length = 0; |
|
| 39 | 34 | $this->eof = false; |
|
| 40 | 34 | } |
|
| 41 | |||
| 137 |