You are here

public function MockCollection::__construct in MongoDB 7

MockCollection constructor.

Parameters

string $message: The exception message to be thrown.

File

mongodb_cache/src/Tests/CacheUnitTestCase.php, line 35

Class

MockCollection

Namespace

Drupal\mongodb_cache\Tests

Code

public function __construct($message) {
  $this->message = $message;
}