public function MongoDebugCollection::__call in MongoDB 6
Same name and namespace in other branches
- 7 mongodb.module \MongoDebugCollection::__call()
File
- ./
mongodb.module, line 145 - A library of common mechanisms for modules using MongoDB.
Class
- MongoDebugCollection
- Class MongoDebugCollection wraps a MongoCollection with debug() instructions.
Code
public function __call($name, $arguments) {
debug($name);
debug($arguments);
return call_user_func_array(array(
$this->collection,
$name,
), $arguments);
}