original_string: public function listTables()
      {
          list($sql, $params) = $this->_dialect->listTablesSql($this->_connection->config());
          $result = [];
          $statement = $this->_connection->execute($sql, $params);
          while ($row = $statement->fetch()) {
              $result[] = $row[0];
          }
          $statement->closeCursor();
  
          return $result;
      }
code: public function listTables()
      {
          list($sql, $params) = $this->_dialect->listTablesSql($this->_connection->config());
          $result = [];
          $statement = $this->_connection->execute($sql, $params);
          while ($row = $statement->fetch()) {
              $result[] = $row[0];
          }
          $statement->closeCursor();
  
          return $result;
      }
code_tokens: public function listTables ( ) { list ( $ sql , $ params ) = $ this -> _dialect -> listTablesSql ( $ this -> _connection -> config ( ) ) ; $ result = [ ] ; $ statement = $ this -> _connection -> execute ( $ sql , $ params ) ; while ( $ row = $ statement -> fetch ( ) ) { $ result [ ] = $ row [ 0 ] ; } $ statement -> closeCursor ( ) ; return $ result ; }
docstring: Get the list of tables available in the current connection.
  
  @return array The list of tables in the connected database/schema.
docstring_tokens: Get the list of tables available in the current connection .