Closed guiwoda closed 9 years ago
You cannot check to see if an entity is an instance of based on traits - you have to use the class_uses() function to do those checks - so your check would be failing, which is why it's not working.
Yeah, I actually have an interface as well as the Trait. Anyway, I'll see if I can do a test to verify it.
I had to change the way SoftDeletableListener applies changes to the SoftDeletable entity, because it wasn't setting the deleted_at timestamp and it was actually deleting it!