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