Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
| MediaWikiLexemeRedirector | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
| assertEntityIsRedirectable | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| 1 | <?php |
| 2 | |
| 3 | namespace Wikibase\Lexeme\DataAccess\Store; |
| 4 | |
| 5 | use Wikibase\DataModel\Entity\EntityDocument; |
| 6 | use Wikibase\Repo\Interactors\EntityRedirectCreationInteractor; |
| 7 | |
| 8 | /** |
| 9 | * @license GPL-2.0-or-later |
| 10 | */ |
| 11 | class MediaWikiLexemeRedirector extends EntityRedirectCreationInteractor { |
| 12 | |
| 13 | protected function assertEntityIsRedirectable( EntityDocument $entity ) { |
| 14 | // as of now, all kinds of lexemes can be redirected |
| 15 | } |
| 16 | |
| 17 | } |