| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 40 | public function processFile(FileInterface $file): FileInterface |
||
| 41 | { |
||
| 42 | return new HashedFile( |
||
| 43 | sprintf( |
||
| 44 | '%s_%s_%s.txt', |
||
| 45 | $file->getFilename(), |
||
| 46 | $this->systemClock->getNow()->format('Ymd\THis'), |
||
| 47 | substr($file->getChecksum(), 0, 10) |
||
| 48 | ), |
||
| 49 | $file->getContent(), |
||
| 50 | $file->getChecksum() |
||
| 51 | ); |
||
| 54 |