getBulletType() public method

Get bullet type
public getBulletType ( ) : string
return string
Ejemplo n.º 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());
 }