I have a problem with my project :
Not called :
public function postRemove(LifecycleEventArgs $event)
{
$test = 1;
$test1 = 2;
}
Called :
public function preRemove(LifecycleEventArgs $event)
{
$test = 1;
$test1 = 2;
}
Strange that postRemove is not called. I confirm that the entity is deleted from database. Please give an idea.