Total Lines | 32 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
8 | interface DocumentInterface |
||
9 | { |
||
10 | |||
11 | /** |
||
12 | * Constructor |
||
13 | * |
||
14 | * @param array $data An associative array, each key/value pair will be |
||
15 | * turned into properties on this object. |
||
16 | */ |
||
17 | public function __construct(array $data = array()); |
||
18 | |||
19 | /** |
||
20 | * Set the document ID. |
||
21 | * |
||
22 | * @param string $id |
||
23 | */ |
||
24 | public function setId($id); |
||
25 | |||
26 | /** |
||
27 | * Get the document ID. |
||
28 | * |
||
29 | * @return string |
||
30 | */ |
||
31 | public function getId(); |
||
32 | |||
33 | /** |
||
34 | * Get the initial document ID. |
||
35 | * |
||
36 | * @return string |
||
37 | */ |
||
38 | public function getInitialId(); |
||
39 | } |
||
40 |