1 | <?php |
||
11 | class EntityOfUnknownType implements EntityDocument { |
||
12 | |||
13 | /** |
||
14 | * @return null |
||
15 | */ |
||
16 | public function getId() { |
||
19 | |||
20 | /** |
||
21 | * @return string Returns the entity type "unknown-entity-type". |
||
22 | */ |
||
23 | public function getType() { |
||
26 | |||
27 | /** |
||
28 | * @param mixed $id Ignored. |
||
29 | */ |
||
30 | public function setId( $id ) { |
||
32 | |||
33 | /** |
||
34 | * @return bool Always true. |
||
35 | */ |
||
36 | public function isEmpty() { |
||
39 | |||
40 | /** |
||
41 | * @see EntityDocument::equals |
||
42 | * |
||
43 | * @param mixed $target |
||
44 | * |
||
45 | * @return bool Always true. |
||
46 | */ |
||
47 | public function equals( $target ) { |
||
50 | |||
51 | /** |
||
52 | * @see EntityDocument::copy |
||
53 | * |
||
54 | * @return self |
||
55 | */ |
||
56 | public function copy() { |
||
59 | |||
60 | /** |
||
61 | * @see EntityDocument::clear |
||
62 | */ |
||
63 | public function clear() { |
||
65 | |||
66 | } |
||
67 |