Doctrine\ODM\MongoDB\Mapping\ClassMetadataInfo::setLockField PHP Method

setLockField() public method

Sets the name of the field that is to be used for storing whether a document is currently locked or not.
public setLockField ( string $lockField )
$lockField string
    public function setLockField($lockField)
    {
        $this->lockField = $lockField;
    }
ClassMetadataInfo