| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 28 | public function execute($command, callable $next) |
||
| 29 | { |
||
| 30 | // should find from real storage eg. mysql |
||
| 31 | $command->storage = $storage = new CommandData(); |
||
| 32 | $command->merge($storage->getLineCommandData()); |
||
| 33 | |||
| 34 | $storage->setLineUserId($command->input->userId); |
||
| 35 | $storage->setLineActiveCmd($command->getCmd()); |
||
| 36 | |||
| 37 | return $next($command); |
||
| 38 | } |
||
| 40 |