original_string: public function tables()
      {
          $db = ConnectionManager::get('default');
          $db->connect();
          $schemaCollection = $db->schemaCollection();
          $tables = $schemaCollection->listTables();
          foreach ($tables as $table) {
              $this->out(sprintf('- %s', $table));
          }
      }
code: public function tables()
      {
          $db = ConnectionManager::get('default');
          $db->connect();
          $schemaCollection = $db->schemaCollection();
          $tables = $schemaCollection->listTables();
          foreach ($tables as $table) {
              $this->out(sprintf('- %s', $table));
          }
      }
code_tokens: public function tables ( ) { $ db = ConnectionManager :: get ( 'default' ) ; $ db -> connect ( ) ; $ schemaCollection = $ db -> schemaCollection ( ) ; $ tables = $ schemaCollection -> listTables ( ) ; foreach ( $ tables as $ table ) { $ this -> out ( sprintf ( '- %s' , $ table ) ) ; } }
docstring: Displays a list of all table names in database.
  
  @return void
docstring_tokens: Displays a list of all table names in database .