class MongodbDummy in MongoDB 7
Hierarchy
- class \MongodbDummy
Expanded class hierarchy of MongodbDummy
File
- ./
mongodb.module, line 243 - Contains the main module connecting Drupal to MongoDB.
View source
class MongodbDummy {
/**
* A fake connection.
*
* @var \Mongo\Mongo
*/
public $connection;
/**
* Pretend to return a collection.
*
* @return \MongodbDummy
* The returned value is actually a new MongodbDummy instance.
*/
public function selectCollection() {
return new MongodbDummy();
}
/**
* Magic __call accepting any method name and doing nothing.
*
* @param string $name
* Ignored.
* @param array $arguments
* All arguments are ignored.
*/
public function __call($name, array $arguments) {
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MongodbDummy:: |
public | property | A fake connection. | |
MongodbDummy:: |
public | function | Pretend to return a collection. | |
MongodbDummy:: |
public | function | Magic __call accepting any method name and doing nothing. |