| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 26 | public function dispatch(TaskDefinitionInterface $taskDefinition): DispatchResultInterface |
||
| 27 | { |
||
| 28 | $params = $taskDefinition->define(); |
||
| 29 | return $this->delegate(new ShopwareCommandDefinition( |
||
| 30 | 'sw:plugin:config:set', |
||
| 31 | sprintf( |
||
| 32 | '-n %s %s %s %s', |
||
| 33 | escapeshellarg($params->get('plugin')), |
||
| 34 | escapeshellarg($params->get('key')), |
||
| 35 | escapeshellarg($params->get('value')), |
||
| 36 | $this->getEnvironmentConsoleParameter($taskDefinition) |
||
| 37 | ) |
||
| 40 | } |