EncryptBundle
EncryptBundle copied to clipboard
Simplify doctrine flow
I had issue with $em->refresh($entity);
, the value was not decrypted again.
Here is a simpler approach I think, we tell Doctrine the original value was the decrypted one. So we don't have to deal with many checks.