public setHashIndex ( string $value ) : |
||
$value | string | Hash index |
return |
public function setHashIndex($value)
{
$this->hashIndex = $value;
return $this;
}
public function testHashIndex() { $object = new Series(); $value = rand(1, 100); $this->assertEmpty($object->getHashIndex()); $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Series', $object->setHashIndex($value)); $this->assertEquals($value, $object->getHashIndex()); }