Total Complexity | 2 |
Total Lines | 14 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | final class LastReferenceNotFoundException extends LogicException implements ExceptionInterface |
||
11 | { |
||
12 | |||
13 | private $source; |
||
14 | |||
15 | 5 | public function __construct(string $source, Throwable $previous = null) |
|
16 | { |
||
17 | 5 | $this->source = $source; |
|
18 | 5 | parent::__construct("Query '{$this->source}' selected no last reference", 0, $previous); |
|
19 | 5 | } |
|
20 | |||
21 | 1 | public function getSource(): string |
|
24 | } |
||
25 | } |
||
26 |