| Total Complexity | 6 |
| Total Lines | 45 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | final class TelemetryConfig extends InjectableConfig |
||
| 13 | { |
||
| 14 | public const CONFIG = 'telemetry'; |
||
| 15 | |||
| 16 | protected array $config = [ |
||
| 17 | 'default' => 'null', |
||
| 18 | 'drivers' => [], |
||
| 19 | ]; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Get default trace driver |
||
| 23 | * |
||
| 24 | * @throws InvalidArgumentException |
||
| 25 | */ |
||
| 26 | public function getDefaultDriver(): string |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @param non-empty-string $name |
||
|
|
|||
| 37 | * @return class-string<TracerInterface>|Autowire |
||
| 38 | * @throws InvalidArgumentException |
||
| 39 | */ |
||
| 40 | public function geDriverConfig(string $name): string|Autowire |
||
| 59 |