Connection.php

Namespace

Drupal\driver_test\Driver\Database\DriverTestMysql

File

core/modules/system/tests/modules/driver_test/src/Driver/Database/DriverTestMysql/Connection.php

View source
<?php

declare (strict_types=1);
namespace Drupal\driver_test\Driver\Database\DriverTestMysql;

use Drupal\mysql\Driver\Database\mysql\Connection as CoreConnection;

/**
 * MySQL test implementation of \Drupal\Core\Database\Connection.
 */
class Connection extends CoreConnection {
  
  /**
   * {@inheritdoc}
   */
  public function driver() {
    return 'DriverTestMysql';
  }

}

Classes

Title Deprecated Summary
Connection MySQL test implementation of \Drupal\Core\Database\Connection.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.