setHashIndex() публичный Метод

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 ) : Series
$value string Hash index
Результат Series
Пример #1
0
 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());
 }