| 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 | * @since 3.3 |
||
| 44 | * |
||
| 45 | * @param mixed $target |
||
| 46 | * |
||
| 47 | * @return bool Always true. |
||
| 48 | */ |
||
| 49 | public function equals( $target ) { |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @see EntityDocument::copy |
||
| 55 | * |
||
| 56 | * @since 3.3 |
||
| 57 | * |
||
| 58 | * @return self |
||
| 59 | */ |
||
| 60 | public function copy() { |
||
| 63 | |||
| 64 | } |
||
| 65 |