original_string: public function getCollections($options = [])
      {
          $list = [];
          foreach ($this->db->listCollections($options) as $coll) {
              $list[] = $coll->getName();
          }
  
          return $list;
      }
code: public function getCollections($options = [])
      {
          $list = [];
          foreach ($this->db->listCollections($options) as $coll) {
              $list[] = $coll->getName();
          }
  
          return $list;
      }
code_tokens: public function getCollections ( $ options = [ ] ) { $ list = [ ] ; foreach ( $ this -> db -> listCollections ( $ options ) as $ coll ) { $ list [ ] = $ coll -> getName ( ) ; } return $ list ; }
docstring: Get collections list.
  
  @param array $options
  @return array
docstring_tokens: Get collections list .