diff --git a/application/src/Entity/AbstractEntity.php b/application/src/Entity/AbstractEntity.php index 9590092..dec8020 100644 --- a/application/src/Entity/AbstractEntity.php +++ b/application/src/Entity/AbstractEntity.php @@ -32,4 +32,9 @@ abstract class AbstractEntity implements EntityInterface public function __construct() { } + + public function __toString(): string + { + return __CLASS__.':'.spl_object_hash($this); + } }