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

namespace Drupal\driver_test\Driver\Database\DrivertestMysql;

include_once dirname(__DIR__, 8) . '/mysql/src/Driver/Database/mysql/Connection.php';
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.