public function getWriteConcern()
    {
        if ($this->_writeConcern !== null) {
            if (is_scalar($this->_writeConcern)) {
                $this->_writeConcern = new WriteConcern($this->_writeConcern);
            }
        }
        return $this->_writeConcern;
    }
public function getWriteConcern()
    {
        if ($this->_writeConcern !== null) {
            if (is_scalar($this->_writeConcern)) {
                $this->_writeConcern = new WriteConcern($this->_writeConcern);
            }
        }
        return $this->_writeConcern;
    }
public function getWriteConcern ( ) { if ( $ this -> _writeConcern !== null ) { if ( is_scalar ( $ this -> _writeConcern ) ) { $ this -> _writeConcern = new WriteConcern ( $ this -> _writeConcern ) ; } } return $ this -> _writeConcern ; }
Returns write concern for this command.
@return WriteConcern|null write concern to be used in this command.
Returns write concern for this command .