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

getBulletType() public method

Get bullet type
public getBulletType ( ) : string
return string
    public function getBulletType()
    {
        return $this->bulletType;
    }

Usage Example

示例#1
0
 /**
  * Test get/set bullet type
  */
 public function testSetGetBulletType()
 {
     $object = new Bullet();
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Style\\Bullet', $object->setBulletType());
     $this->assertEquals(Bullet::TYPE_NONE, $object->getBulletType());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Style\\Bullet', $object->setBulletType(Bullet::TYPE_BULLET));
     $this->assertEquals(Bullet::TYPE_BULLET, $object->getBulletType());
 }