original_string: private function createExecuteOptions()
      {
          $options = [];
  
          if (isset($this->options['session'])) {
              $options['session'] = $this->options['session'];
          }
  
          if (isset($this->options['writeConcern'])) {
              $options['writeConcern'] = $this->options['writeConcern'];
          }
  
          return $options;
      }
code: private function createExecuteOptions()
      {
          $options = [];
  
          if (isset($this->options['session'])) {
              $options['session'] = $this->options['session'];
          }
  
          if (isset($this->options['writeConcern'])) {
              $options['writeConcern'] = $this->options['writeConcern'];
          }
  
          return $options;
      }
code_tokens: private function createExecuteOptions ( ) { $ options = [ ] ; if ( isset ( $ this -> options [ 'session' ] ) ) { $ options [ 'session' ] = $ this -> options [ 'session' ] ; } if ( isset ( $ this -> options [ 'writeConcern' ] ) ) { $ options [ 'writeConcern' ] = $ this -> options [ 'writeConcern' ] ; } return $ options ; }
docstring: Create options for executing the bulk write.
  
  @see http://php.net/manual/en/mongodb-driver-server.executebulkwrite.php
  @return array
docstring_tokens: Create options for executing the bulk write .