Skip to content

Commit 51a54af

Browse files
committed
Add deprecated tags to all Entity methods
1 parent bd2d2f2 commit 51a54af

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/Entity/Entity.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,7 @@ public function setAllAliases( array $aliasLists ) {
332332
* Returns a deep copy of the entity.
333333
*
334334
* @since 0.1
335+
* @deprecated since 1.0
335336
*
336337
* @return self
337338
*/
@@ -380,6 +381,7 @@ public final function patch( EntityDiff $patch ) {
380381

381382
/**
382383
* @since 0.7.3
384+
* @deprecated since 1.0
383385
*
384386
* @return Fingerprint
385387
*/
@@ -389,6 +391,7 @@ public function getFingerprint() {
389391

390392
/**
391393
* @since 0.7.3
394+
* @deprecated since 1.0
392395
*
393396
* @param Fingerprint $fingerprint
394397
*/
@@ -401,6 +404,7 @@ public function setFingerprint( Fingerprint $fingerprint ) {
401404
* Having an id set does not count as having content.
402405
*
403406
* @since 0.1
407+
* @deprecated since 1.0
404408
*
405409
* @return bool
406410
*/
@@ -411,6 +415,7 @@ public abstract function isEmpty();
411415
* The id is not part of the content.
412416
*
413417
* @since 0.1
418+
* @deprecated since 1.0
414419
*/
415420
public abstract function clear();
416421

0 commit comments

Comments
 (0)