| Total Complexity | 2 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 7 | class ConsumeConfig extends Collection |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Connection Configuration. |
||
| 11 | * |
||
| 12 | * @var ConnectionConfig|null |
||
| 13 | */ |
||
| 14 | protected ?ConnectionConfig $connectionConfig; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Create a new ConsumeConfig instance. |
||
| 18 | * |
||
| 19 | * @param array $config |
||
| 20 | * @param ConnectionConfig|null $connectionConfig |
||
| 21 | */ |
||
| 22 | public function __construct(array $config = [], ?ConnectionConfig $connectionConfig = null) |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Get connection config. |
||
| 30 | * |
||
| 31 | * @return ConnectionConfig|null |
||
| 32 | */ |
||
| 33 | public function getConnectionConfig(): ?ConnectionConfig |
||
| 38 |