We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4f60f6 commit 6e51b8bCopy full SHA for 6e51b8b
2 files changed
src/Entity/Entity.php
@@ -322,17 +322,6 @@ public function getClaims() {
322
return array();
323
}
324
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
-
336
/**
337
* Removes all content from the Entity.
338
* The id is not part of the content.
src/Entity/EntityDocument.php
@@ -42,4 +42,14 @@ public function getType();
42
*/
43
public function setId( $id );
44
45
+ /**
46
+ * Returns if the entity has no content.
47
+ * Having an id set does not count as having content.
48
+ *
49
+ * @since 4.2
50
51
+ * @return bool
52
+ */
53
+ public function isEmpty();
54
+
55
0 commit comments