MediaWikiTermStoreFactory   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 0
dl 0
loc 11
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A newPropertyTermStore() 0 3 1
A newItemTermStore() 0 3 1
1
<?php
2
3
namespace Wikibase\TermStore\MediaWiki;
4
5
use Wikibase\TermStore\ItemTermStore;
6
use Wikibase\TermStore\PropertyTermStore;
7
use Wikibase\TermStore\TermStoreFactory;
8
9
class MediaWikiTermStoreFactory implements TermStoreFactory {
10
11
	public function newPropertyTermStore(): PropertyTermStore {
12
		// TODO
13
	}
14
15
	public function newItemTermStore(): ItemTermStore {
16
		// TODO
17
	}
18
19
}
20