Total Complexity | 2 |
Total Lines | 17 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | final class RangeSetNotFoundException extends OutOfRangeException implements ExceptionInterface |
||
11 | { |
||
12 | |||
13 | /** |
||
14 | * @var string |
||
15 | */ |
||
16 | private $propertyName; |
||
17 | |||
18 | public function __construct(string $propertyName, Throwable $previous = null) |
||
19 | { |
||
20 | $this->propertyName = $propertyName; |
||
21 | parent::__construct("Range set not found for property '{$this->propertyName}'", 0, $previous); |
||
22 | } |
||
23 | |||
24 | public function getPropertyName(): string |
||
27 | } |
||
28 | } |
||
29 |