Completed
Push — master ( 7034c7...e9a56b )
by Jeroen De
03:10
created

MappingService::getDependencies()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 3
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 2
1
<?php
2
3
namespace Maps;
4
5
use ParamProcessor\ParamDefinition;
6
7
/**
8
 * @licence GNU GPL v2+
9
 * @author Jeroen De Dauw < [email protected] >
10
 */
11
abstract class MappingService {
12
13
	/**
14
	 * @return array[]|ParamDefinition[]
15
	 */
16
	public abstract function getParameterInfo(): array;
17
18
	public abstract function getDependencyHtml( array $params ): string;
19
20
	/**
21
	 * Returns the resource modules that need to be loaded to use this mapping service.
22
	 */
23
	public abstract function getResourceModules(): array;
24
25
	public abstract function getName(): string;
26
27
	public abstract function getAliases(): array;
28
29
	public abstract function hasAlias( string $alias ): bool;
30
31
	public abstract function getMapId();
32
33
}
34