| Conditions | 5 |
| Paths | 5 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | public function setup(IDriver $driver): void |
||
| 23 | { |
||
| 24 | if ($this->settings->isLoopAvailable()) { |
||
| 25 | if ($this->settings->isAutoStartEnabled()) { |
||
| 26 | $this->registerAutoStart(); |
||
| 27 | } |
||
| 28 | if ($this->settings->isSignalProcessingAvailable() && $this->settings->isAttachHandlersEnabled()) { |
||
| 29 | $this->registerSignalHandlers($driver); |
||
| 30 | } |
||
| 58 |