| Total Complexity | 4 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | #[AsService] |
||
| 12 | 1 | class ExceptionFormatterLocator implements ExceptionFormatterLocatorInterface |
|
| 13 | { |
||
| 14 | /** @var array<FormatterInterface> */ |
||
| 15 | private array $formatters; |
||
| 16 | |||
| 17 | 6 | public function __construct( |
|
| 22 | 6 | } |
|
| 23 | |||
| 24 | 6 | public function get(\Throwable $e): FormatterInterface |
|
| 27 | } |
||
| 28 | |||
| 29 | 3 | public function has(\Throwable $e): bool |
|
| 34 |