Gets the driver-specific override class if any for the specified class.
string $class: The class for which we want the potentially driver-specific class.
string The name of the class that should be used for this driver.
public function getDriverClass($class) {
if (empty($this->driverClasses[$class])) {
$driver = $this
->driver();
$driver_class = "Drupal\\Core\\Database\\Driver\\{$driver}\\{$class}";
$this->driverClasses[$class] = class_exists($driver_class) ? $driver_class : $class;
}
return $this->driverClasses[$class];
}