Doctrine\ORM\Mapping\ClassMetadataInfo::setVersionField
Sets the name of the field that is to be used for versioning if this class is versioned for optimistic locking.
Signature
public function setVersionField(string
$versionField )
Parameters
$versionField
— string