You are here

DatabaseSourceInterface.php in Backup and Migrate 8.4

File

lib/backup_migrate_core/src/Source/DatabaseSourceInterface.php
View source
<?php

namespace BackupMigrate\Core\Source;


/**
 * Interface DatabaseSourceInterface.
 *
 * @package BackupMigrate\Core\Source
 */
interface DatabaseSourceInterface extends SourceInterface {

  /**
   * Get a list of tables in this source.
   */
  public function getTableNames();

  /**
   * Get an array of tables with some info. Each entry must have at least a
   * 'name' key containing the table name.
   *
   * @return array
   */
  public function getTables();

}

Interfaces

Namesort descending Description
DatabaseSourceInterface Interface DatabaseSourceInterface.