| Total Complexity | 3 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | class UnresolvedEntityRedirectException extends EntityLookupException { |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var EntityId |
||
| 21 | */ |
||
| 22 | private $redirectTargetId; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param EntityId $entityId |
||
| 26 | * @param EntityId $redirectTargetId The ID of the target Entity of the redirect |
||
| 27 | * @param string|null $message Added in 3.1 |
||
| 28 | * @param Exception|null $previous Added in 3.1 |
||
| 29 | */ |
||
| 30 | public function __construct( |
||
| 46 | } |
||
| 47 | |||
| 48 | /** |
||
| 49 | * Returns the ID of the entity referenced by the redirect. |
||
| 50 | * |
||
| 51 | * @return EntityId |
||
| 52 | */ |
||
| 53 | public function getRedirectTargetId() { |
||
| 58 |