File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Wikibase DataModel release notes
22
3+ ## Version 4.3 (dev)
4+
5+ * Added ` isEmpty ` to ` EntityDocument `
6+
37## Version 4.2 (2015-08-26)
48
59* Added ` EntityRedirect `
Original file line number Diff line number Diff line change @@ -322,17 +322,6 @@ public function getClaims() {
322322 return array ();
323323 }
324324
325- /**
326- * Returns if the Entity has no content.
327- * Having an id set does not count as having content.
328- *
329- * @since 0.1
330- * @deprecated since 1.0
331- *
332- * @return bool
333- */
334- public abstract function isEmpty ();
335-
336325 /**
337326 * Removes all content from the Entity.
338327 * The id is not part of the content.
Original file line number Diff line number Diff line change @@ -42,4 +42,14 @@ public function getType();
4242 */
4343 public function setId ( $ id );
4444
45+ /**
46+ * Returns true if the entity has no content.
47+ * Having an id set does not count as having content.
48+ *
49+ * @since 4.3
50+ *
51+ * @return bool
52+ */
53+ public function isEmpty ();
54+
4555}
You can’t perform that action at this time.
0 commit comments