NullImportReporter   A
last analyzed

Complexity

Total Complexity 6

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

6 Methods

Rating   Name   Duplication   Size   Complexity  
A onImportStarted() 0 1 1
A onEntityInsertStarted() 0 1 1
A onEntityInsertSucceeded() 0 1 1
A onEntityInsertFailed() 0 1 1
A onImportCompleted() 0 1 1
A onImportAborted() 0 1 1
1
<?php
2
3
namespace Wikibase\QueryEngine\Importer;
4
5
use Exception;
6
use Wikibase\DataModel\Entity\EntityDocument;
7
8
/**
9
 * @since 0.3
10
 * @licence GNU GPL v2+
11
 * @author Jeroen De Dauw < [email protected] >
12
 */
13
class NullImportReporter implements ImportReporter {
14
15
	public function onImportStarted() {}
16
	public function onEntityInsertStarted( EntityDocument $entity ) {}
17
	public function onEntityInsertSucceeded( EntityDocument $entity ) {}
18
	public function onEntityInsertFailed( EntityDocument $entity, Exception $ex ) {}
19
	public function onImportCompleted() {}
20
	public function onImportAborted() {}
21
22
}
23