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

MappingService::addHtmlDependencies()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 5

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 2.0625

Importance

Changes 0
Metric Value
dl 0
loc 5
ccs 3
cts 4
cp 0.75
rs 10
c 0
b 0
f 0
cc 2
nc 2
nop 1
crap 2.0625
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