mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 13:57:10 +02:00
Added __toString to entities for easier debuging
This commit is contained in:
@@ -32,4 +32,9 @@ abstract class AbstractEntity implements EntityInterface
|
||||
public function __construct()
|
||||
{
|
||||
}
|
||||
|
||||
public function __toString(): string
|
||||
{
|
||||
return __CLASS__.':'.spl_object_hash($this);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user