protected function Connection::getServerVersion in Drupal 9
Same name in this branch
- 9 core/lib/Drupal/Core/Database/Driver/mysql/Connection.php \Drupal\Core\Database\Driver\mysql\Connection::getServerVersion()
- 9 core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysqlDeprecatedVersion/Connection.php \Drupal\driver_test\Driver\Database\DrivertestMysqlDeprecatedVersion\Connection::getServerVersion()
Gets the server version.
Return value
string The PDO server version.
Overrides Connection::getServerVersion
File
- core/
modules/ system/ tests/ modules/ driver_test/ src/ Driver/ Database/ DrivertestMysqlDeprecatedVersion/ Connection.php, line 45
Class
- Connection
- MySQL test implementation of \Drupal\Core\Database\Connection.
Namespace
Drupal\driver_test\Driver\Database\DrivertestMysqlDeprecatedVersionCode
protected function getServerVersion() : string {
return $this->databaseVersion;
}