1 | <?php |
||
8 | class SourceFileIterator implements \IteratorAggregate |
||
9 | { |
||
10 | /** |
||
11 | * @var string Source file or directory name |
||
12 | */ |
||
13 | private $filename; |
||
14 | |||
15 | public function __construct(string $filename) |
||
19 | |||
20 | public function getIterator(): \Traversable |
||
33 | |||
34 | private function readFile(string $filename): string |
||
42 | } |
||
43 |