| Total Complexity | 2 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class PluginConfigSetDispatcher extends AbstractShopwareDispatcher |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @param TaskDefinitionInterface $taskDefinition |
||
| 14 | * @return bool |
||
| 15 | */ |
||
| 16 | public function canDispatchTaskDefinition(TaskDefinitionInterface $taskDefinition): bool |
||
| 17 | { |
||
| 18 | return $taskDefinition instanceof PluginConfigSetDefinition; |
||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param TaskDefinitionInterface $taskDefinition |
||
| 23 | * @return DispatchResultInterface |
||
| 24 | * @throws \Deployee\Plugins\Deploy\Exception\DispatcherException |
||
| 25 | */ |
||
| 26 | public function dispatch(TaskDefinitionInterface $taskDefinition): DispatchResultInterface |
||
| 36 | ) |
||
| 37 | )); |
||
| 39 | } |