[Doctrine] Add how: How to use optimistic locking with version annotation