Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
27 | public function execute(PathInterface $filePath): void |
||
28 | { |
||
29 | $resultParser = new ResultParser(); |
||
30 | $this->result = $resultParser; |
||
31 | foreach ($this->listParser as $currentParser) { |
||
32 | $currentParser->parseFile($filePath); |
||
33 | $resultOfcurrentParsedFile = $currentParser->getListResult(); |
||
34 | |||
35 | $this->result->append($resultOfcurrentParsedFile); |
||
36 | } |
||
46 |