/** * @getter * @override * @return \MongoCollection */ public function getTable() { $table = parent::getTable(); $collection = Registry::get("MongoDB")->{$table}; return $collection; }