Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
32 | 9 | public function __construct(string $serviceId, array $path, \Throwable $previous = null) |
|
33 | { |
||
34 | 9 | parent::__construct(\sprintf('Circular reference detected for service "%s", path: "%s".', $serviceId, \implode(' -> ', $path)), 0, $previous); |
|
35 | |||
36 | 9 | $this->serviceId = $serviceId; |
|
37 | 9 | $this->path = $path; |
|
38 | 9 | } |
|
53 |