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

AliasGroupListDeserializer::assertCanDeserialize()   A

Complexity

Conditions 4
Paths 4

Size

Total Lines 13
Code Lines 7

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
c 1
b 1
f 0
dl 0
loc 13
rs 9.2
cc 4
eloc 7
nc 4
nop 1
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