Total Complexity | 3 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class File implements SourceInterface |
||
10 | { |
||
11 | /** |
||
12 | * @var string |
||
13 | */ |
||
14 | private $filePath; |
||
15 | |||
16 | public function __construct(string $filePath) |
||
19 | } |
||
20 | |||
21 | /** |
||
22 | 5 | * @param array<mixed> $context |
|
23 | * |
||
24 | 5 | * @return iterable<Text> |
|
25 | 5 | */ |
|
26 | 5 | public function toTexts(array $context = []): iterable |
|
31 | 1 | } |
|
32 | 5 | ||
33 | 5 | private function getFileContent(): string |
|
38 |