public function indexRemove($indexName, $key, $rid = null) { $commandClass = $this->getCommandClass('index.remove'); $this->command = new $commandClass($indexName, $key, $rid); return $this->command; }