/** * Wrapper method for MongoDB::__get(). * * @see http://php.net/manual/en/mongodb.get.php * @param string $name * @return \MongoCollection */ public function __get($name) { return $this->mongoDB->__get($name); }