only handle if event is instance of DoctrineEntityEvent