You are here

interface DbServerHandlerInterface in DB Maintenance 8

Same name and namespace in other branches
  1. 7.2 src/Module/Db/DbServer/DbServerHandlerInterface.php \Drupal\db_maintenance\Module\Db\DbServer\DbServerHandlerInterface
  2. 2.0.x src/Module/Db/DbServer/DbServerHandlerInterface.php \Drupal\db_maintenance\Module\Db\DbServer\DbServerHandlerInterface

DbServerHandler interface.

Hierarchy

Expanded class hierarchy of DbServerHandlerInterface

All classes that implement DbServerHandlerInterface

2 files declare their use of DbServerHandlerInterface
MySqlHandler.php in src/Module/Db/DbServer/MySql/MySqlHandler.php
MySqlHandler class.
PgSqlHandler.php in src/Module/Db/DbServer/PgSql/PgSqlHandler.php
PgSqlHandler class.

File

src/Module/Db/DbServer/DbServerHandlerInterface.php, line 13
DbServerHandler interface.

Namespace

Drupal\db_maintenance\Module\Db\DbServer
View source
interface DbServerHandlerInterface {

  /**
   * Returns list of tables in the active database.
   */
  public function listTables();

  /**
   * Optimizes table in the active database.
   */
  public function optimizeTable($table_name);

}

Members

Namesort descending Modifiers Type Description Overrides
DbServerHandlerInterface::listTables public function Returns list of tables in the active database. 2
DbServerHandlerInterface::optimizeTable public function Optimizes table in the active database. 2