public function createIndex(array $key, array $options = array()) { $this->getMongoCollection()->createIndex($key, $options); return $this; }