Example #1
0
 /**
  * Drop the database that this object is currently connected to.
  * Use with caution.
  */
 public function dropSelectedDatabase()
 {
     $databaseName = $this->connector->getSelectedDatabase();
     if ($databaseName) {
         $this->connector->unloadDatabase();
         $this->schemaManager->dropDatabase($databaseName);
     }
 }