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