Doctrine\ORM\Persisters\BasicEntityPersister::assignDefaultVersionValue
Retrieves the default version value which was created by the preceding INSERT statement and assigns it back in to the entities version field.
Signature
Parameters
$entity
— object$id
— mixed