Note that this index may vary during script execution! Only reliable moment is
while doing a write of a workbook and when changes are not allowed.
public setHashIndex ( string $value ) : |
||
$value | string | Hash index |
return |
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()); }