| Conditions | 1 |
| Paths | 1 |
| Total Lines | 18 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | public function execute(array $taskList) |
||
| 17 | { |
||
| 18 | $collector = new StringCollector(); |
||
| 19 | $this->decorator = new Decorator($collector); |
||
| 20 | |||
| 21 | $this->decorator->newLine(); |
||
| 22 | |||
| 23 | $cronList = CrontabLoader::load(); |
||
| 24 | |||
| 25 | $mergeList = Merge::execute($taskList, $cronList); |
||
| 26 | $installList = $this->createInstallList($mergeList); |
||
| 27 | |||
| 28 | $cron = new CronWriter(); |
||
| 29 | $cron->write($installList); |
||
| 30 | |||
| 31 | $this->decorator->flashSuccess(); |
||
| 32 | |||
| 33 | return $collector->generate(); |
||
| 34 | } |
||
| 56 |