PhpOffice\PhpPresentation\Style\Bullet::getHashIndex PHP Method

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
    public function getHashIndex()
    {
        return $this->hashIndex;
    }

Usage Example

示例#1
0
 /**
  * Test get/set has index
  */
 public function testSetGetHashIndex()
 {
     $object = new Bullet();
     $value = rand(1, 100);
     $object->setHashIndex($value);
     $this->assertEquals($value, $object->getHashIndex());
 }