You are here

public function MongoDebugCollection::__construct in MongoDB 7

Same name and namespace in other branches
  1. 6 mongodb.module \MongoDebugCollection::__construct()

Constructor.

Parameters

string $collection: The collection to decorate.

File

./mongodb.module, line 161
Contains the main module connecting Drupal to MongoDB.

Class

MongoDebugCollection

Code

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