protected function Connection::getServerVersion in Drupal 10
Same name in this branch
- 10 core/modules/mysql/src/Driver/Database/mysql/Connection.php \Drupal\mysql\Driver\Database\mysql\Connection::getServerVersion()
- 10 core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysqlDeprecatedVersion/Connection.php \Drupal\driver_test\Driver\Database\DrivertestMysqlDeprecatedVersion\Connection::getServerVersion()
Same name and namespace in other branches
- 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 47
Class
- Connection
- MySQL test implementation of \Drupal\Core\Database\Connection.
Namespace
Drupal\driver_test\Driver\Database\DrivertestMysqlDeprecatedVersionCode
protected function getServerVersion() : string {
return $this->databaseVersion;
}