| Total Complexity | 2 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 9 | final class AddressNotSortableException extends DomainException implements ExceptionInterface |
||
| 10 | { |
||
| 11 | |||
| 12 | private $address; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @param int|string $address |
||
| 16 | * @param Throwable|null $previous |
||
| 17 | */ |
||
| 18 | public function __construct($address, Throwable $previous = null) |
||
| 19 | { |
||
| 20 | $this->address = $address; |
||
| 21 | parent::__construct("Index/property is not sortable: {$this->address}", $previous); |
||
|
|
|||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @return int|string |
||
| 26 | */ |
||
| 27 | public function getAddress() |
||
| 30 | } |
||
| 31 | } |
||
| 32 |