| Total Complexity | 3 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 10 | final class IndexMapMatchFailedException extends LogicException implements ExceptionInterface |
||
| 11 | { |
||
| 12 | |||
| 13 | private $leftValues; |
||
| 14 | |||
| 15 | private $rightValues; |
||
| 16 | |||
| 17 | 6 | public function __construct( |
|
| 18 | ValueListInterface $leftValues, |
||
| 19 | ValueListInterface $rightValues, |
||
| 20 | Throwable $previous = null |
||
| 21 | ) { |
||
| 22 | 6 | $this->leftValues = $leftValues; |
|
| 23 | 6 | $this->rightValues = $rightValues; |
|
| 24 | 6 | parent::__construct("Index map match failed", 0, $previous); |
|
| 25 | 6 | } |
|
| 26 | |||
| 27 | 1 | public function getLeftValues(): ValueListInterface |
|
| 28 | { |
||
| 29 | 1 | return $this->leftValues; |
|
| 30 | } |
||
| 31 | |||
| 32 | 1 | public function getRightValues(): ValueListInterface |
|
| 35 | } |
||
| 36 | } |
||
| 37 |