public function __construct($indexName) { parent::__construct(); $this->setToken('IndexName', $indexName); }