You are here

public function Connection::getTestHelper in MongoDB 8

Return value

TestHelper

File

drivers/lib/Drupal/Driver/Database/mongodb/Connection.php, line 87

Class

Connection

Namespace

Drupal\Driver\Database\mongodb

Code

public function getTestHelper() {
  if (!isset($this->testHelper)) {
    $this->testHelper = new DbHelper($this->mongo);
  }
  return $this->testHelper;
}