function StubConnection::createDatabase
Creates a database.
In order to use this method, you must be connected without a database specified.
Parameters
string $database: The name of the database to create.
Overrides Connection::createDatabase
File
-
core/
tests/ Drupal/ Tests/ Core/ Database/ Stub/ StubConnection.php, line 86
Class
- StubConnection
- A stub of the abstract Connection class for testing purposes.
Namespace
Drupal\Tests\Core\Database\StubCode
public function createDatabase($database) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.