original_string: public function createIndex($collection, $columns, array $options = [])
      {
          $col = $this->db->selectCollection($collection);
  
          return $col->createIndex($columns, $options);
      }
code: public function createIndex($collection, $columns, array $options = [])
      {
          $col = $this->db->selectCollection($collection);
  
          return $col->createIndex($columns, $options);
      }
code_tokens: public function createIndex ( $ collection , $ columns , array $ options = [ ] ) { $ col = $ this -> db -> selectCollection ( $ collection ) ; return $ col -> createIndex ( $ columns , $ options ) ; }
docstring: Create new index.
  
  @param $collection
  @param $columns
  @param array $options
  @return string
docstring_tokens: Create new index .