Exception indicating that an attempt was made to access a redirected EntityId without resolving the redirect first.
More...
Exception indicating that an attempt was made to access a redirected EntityId without resolving the redirect first.
- Since
- 1.1
- Copyright
- GPL-2.0-or-later
- Author
- Daniel Kinzler
◆ __construct()
Wikibase\DataModel\Services\Lookup\UnresolvedEntityRedirectException::__construct |
( |
EntityId |
$entityId, |
|
|
EntityId |
$redirectTargetId, |
|
|
|
$message = null , |
|
|
Exception |
$previous = null |
|
) |
| |
- Parameters
-
EntityId | $entityId | |
EntityId | $redirectTargetId | The ID of the target Entity of the redirect |
string | null | $message | Added in 3.1 |
Exception | null | $previous | Added in 3.1 |
◆ getRedirectTargetId()
Wikibase\DataModel\Services\Lookup\UnresolvedEntityRedirectException::getRedirectTargetId |
( |
| ) |
|
Returns the ID of the entity referenced by the redirect.
- Returns
- EntityId
◆ $redirectTargetId
Wikibase\DataModel\Services\Lookup\UnresolvedEntityRedirectException::$redirectTargetId |
|
private |
The documentation for this class was generated from the following file: