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

setLockable() public method

Sets whether this class is to allow pessimistic locking.
public setLockable ( boolean $bool )
$bool boolean
    public function setLockable($bool)
    {
        $this->isLockable = $bool;
    }
ClassMetadataInfo