/** * Sets the name. * * @param string $name * * @return $this */ public function setName($name) { $this->index->setName($name); return $this; }