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

setBulletNumericStartAt() public method

Set bullet numeric start at
public setBulletNumericStartAt ( integer | string $pValue = 1 ) : Bullet
$pValue integer | string
return Bullet
    public function setBulletNumericStartAt($pValue = 1)
    {
        $this->bulletNumericStartAt = $pValue;
        return $this;
    }

Usage Example

Example #1
0
 /**
  * Test get/set bullet numeric start at
  */
 public function testSetGetBulletNumericStartAt()
 {
     $object = new Bullet();
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Style\\Bullet', $object->setBulletNumericStartAt());
     $this->assertEquals(1, $object->getBulletNumericStartAt());
     $value = rand(1, 100);
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Style\\Bullet', $object->setBulletNumericStartAt($value));
     $this->assertEquals($value, $object->getBulletNumericStartAt());
 }