我的项目有问题:
Not called :
public function postRemove(LifecycleEventArgs $event)
{
$test = 1;
$test1 = 2;
}
Called :
public function preRemove(LifecycleEventArgs $event)
{
$test = 1;
$test1 = 2;
}
奇怪的是 postRemove 没有被调用。我确认该实体已从数据库中删除。请给出一个想法。