| Total Complexity | 6 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | final class StringIteratorAggregate implements IteratorAggregate |
||
| 20 | { |
||
| 21 | private Closure $callable; |
||
| 22 | |||
| 23 | private string $data; |
||
| 24 | |||
| 25 | private string $delimiter; |
||
| 26 | |||
| 27 | 2 | public function __construct(string $data, string $delimiter = '') |
|
| 51 | 2 | } |
|
| 52 | |||
| 53 | /** |
||
| 54 | * @return Generator<int, string> |
||
| 55 | */ |
||
| 56 | 2 | public function getIterator(): Generator |
|
| 61 |