Conditions | 3 |
Paths | 3 |
Total Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
14 | public function perform(): FileActionInterface |
||
15 | { |
||
16 | foreach ($this->iterator as $file) { |
||
17 | if (!$file->isDir()) { |
||
18 | $filename = $file->getPath() . DIRECTORY_SEPARATOR . $file->getFilename(); |
||
19 | $this->logger->info('Getting contents', ['file' => $filename, 'dry-run' => $this->isTestMode]); |
||
20 | $this->output[$filename] = file_get_contents($filename); |
||
21 | } |
||
22 | } |
||
23 | |||
24 | return $this; |
||
25 | } |
||
26 | |||
38 |