public function MongoDebugCollection::__construct in MongoDB 7
Same name and namespace in other branches
- 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
Code
public function __construct($collection) {
$this->collection = $collection;
}