Completed
Push — meaningfulInterfaces ( 00ef73 )
by no
02:51
created

AliasGroupListDeserializer::requireAttribute()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
c 1
b 1
f 0
dl 0
loc 7
rs 9.4285
cc 2
eloc 4
nc 2
nop 2
1
<?php
2
3
namespace Wikibase\DataModel\Deserializers;
4
5
use Deserializers\Exceptions\DeserializationException;
6
use Wikibase\DataModel\Term\AliasGroupList;
7
8
/**
9
 * @since 2.3
10
 *
11
 * @licence GNU GPL v2+
12
 * @author Thiemo Mättig
13
 */
14
interface AliasGroupListDeserializer {
15
16
	/**
17
	 * @param array[] $serialization
18
	 *
19
	 * @throws DeserializationException
20
	 * @return AliasGroupList
21
	 */
22
	public function deserialize( array $serialization );
23
24
}
25