Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\Validators\UniquenessViolation Class Reference

Represents a violation of a uniqueness constraint. More...

+ Inheritance diagram for Wikibase\Repo\Validators\UniquenessViolation:
+ Collaboration diagram for Wikibase\Repo\Validators\UniquenessViolation:

Public Member Functions

 __construct (?EntityId $conflictingEntity, $text, $code, array $params)
 
 getConflictingEntity ()
 

Private Attributes

 $conflictingEntity
 

Detailed Description

Represents a violation of a uniqueness constraint.

Author
Daniel Kinzler

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\Validators\UniquenessViolation::__construct ( ?EntityId $conflictingEntity,
$text,
$code,
array $params )
See also
Error::__construct()
Parameters
EntityId | null$conflictingEntityThe entity causing the conflict, if known
string$text
string$code
mixed[]$params

Member Function Documentation

◆ getConflictingEntity()

Wikibase\Repo\Validators\UniquenessViolation::getConflictingEntity ( )

Member Data Documentation

◆ $conflictingEntity

Wikibase\Repo\Validators\UniquenessViolation::$conflictingEntity
private

The documentation for this class was generated from the following file: