Total Complexity | 2 |
Total Lines | 15 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
16 | final class ProcessHandlerFactory |
||
17 | { |
||
18 | /** |
||
19 | * Returns a process handler depending on the configuration. |
||
20 | * |
||
21 | * @param Config $config The application configuration. |
||
22 | * @param Broker $broker The event broker. |
||
23 | */ |
||
24 | public function getProcessHandler(Config $config, Broker $broker): ProcessHandler |
||
33 |