| Total Complexity | 5 | 
| Total Lines | 34 | 
| Duplicated Lines | 0 % | 
| Coverage | 80% | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php declare(strict_types=1); | ||
| 29 | final class LineStream extends Stream implements IteratorAggregate | ||
| 30 | { | ||
| 31 | /** | ||
| 32 | * @var mixed | ||
| 33 | */ | ||
| 34 | private $resource; | ||
| 35 | |||
| 36 | /** | ||
| 37 | * @param mixed $resource | ||
| 38 | * | ||
| 39 | * @throws InvalidArgumentException | ||
| 40 | */ | ||
| 41 | 1 | public function __construct($resource, bool $autoClose = true) | |
| 46 | } | ||
| 47 | |||
| 48 | /** | ||
| 49 | * @inheritDoc | ||
| 50 | */ | ||
| 51 | 1 | public function getIterator(): Traversable | |
| 66 |