| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | public function execute(ConsumerEvent $event, $directory) |
||
| 25 | { |
||
| 26 | $sha1LockFile = sha1_file($this->workingTempPath.'/'.$directory.'/composer.lock'); |
||
| 27 | |||
| 28 | $this->triggerSuccess($event, ['link' => '/assets/'.$sha1LockFile.'/vendor.zip']); |
||
| 29 | $this->filesystem->remove($this->workingTempPath.'/'.$directory); |
||
| 30 | |||
| 31 | return 0; |
||
| 32 | } |
||
| 33 | } |
||
| 34 |