getHashIndex() public method

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 getHashIndex ( ) : string
return string Hash index
Esempio n. 1
0
 public function testLabelPosition()
 {
     $object = new Series();
     $this->assertEmpty($object->getHashIndex());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Series', $object->setLabelPosition(Series::LABEL_INSIDEBASE));
     $this->assertEquals(Series::LABEL_INSIDEBASE, $object->getLabelPosition());
 }