lib/Doctrine/MongoDB/Collection.php
protected function convertWriteTimeout(array $options)
    {
        if (isset($options['wtimeout']) && ! isset($options['wTimeoutMS'])) {
            $options['wTimeoutMS'] = $options['wtimeout'];
            unset($options['wtimeout']);
        }

        return $options;
    }
protected function convertWriteTimeout(array $options)
    {
        if (isset($options['wtimeout']) && ! isset($options['wTimeoutMS'])) {
            $options['wTimeoutMS'] = $options['wtimeout'];
            unset($options['wtimeout']);
        }

        return $options;
    }
protected function convertWriteTimeout ( array $ options ) { if ( isset ( $ options [ 'wtimeout' ] ) && ! isset ( $ options [ 'wTimeoutMS' ] ) ) { $ options [ 'wTimeoutMS' ] = $ options [ 'wtimeout' ] ; unset ( $ options [ 'wtimeout' ] ) ; } return $ options ; }
Convert "wtimeout" write option to "wTimeoutMS" for driver version
1.5.0+.

@param array $options
@return array
Convert wtimeout write option to wTimeoutMS for driver version 1 . 5 . 0 + .