| Total Complexity | 3 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class EntityLookupException extends RuntimeException { |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var EntityId |
||
| 19 | */ |
||
| 20 | private $entityId; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param EntityId $entityId |
||
| 24 | * @param string|null $message |
||
| 25 | * @param Exception|null $previous |
||
| 26 | */ |
||
| 27 | 1 | public function __construct( EntityId $entityId, $message = null, ?Exception $previous = null ) { |
|
| 34 | 1 | ); |
|
| 35 | 1 | } |
|
| 36 | |||
| 37 | /** |
||
| 38 | * @return EntityId |
||
| 39 | */ |
||
| 40 | 1 | public function getEntityId() { |
|
| 45 |