Completed
Push — refact-v2 ( 0317e0 )
by mw
04:47
created

PropertyAnnotator::addAnnotation()

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 1
c 0
b 0
f 0
ccs 0
cts 0
cp 0
1
<?php
2
3
namespace SESP;
4
5
use SMW\DIProperty;
6
use SMW\SemanticData;
7
8
/**
9
 * @license GNU GPL v2+
10
 * @since 2.0
11
 *
12
 * @author mwjames
13
 */
14
interface PropertyAnnotator {
15
16
	/**
17
	 * @since 2.0
18
	 *
19
	 * @param DIProperty $property
20
	 *
21
	 * @return boolean
22
	 */
23
	public function isAnnotatorFor( DIProperty $property );
24
25
	/**
26
	 * @since 2.0
27
	 *
28
	 * @param DIProperty $property
29
	 * @param SemanticData $semanticData
30
	 */
31
	public function addAnnotation( DIProperty $property, SemanticData $semanticData );
32
33
}
34