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

getBulletFont() public method

Get bullet font
public getBulletFont ( ) : string
return string
    public function getBulletFont()
    {
        return $this->bulletFont;
    }

Usage Example

示例#1
0
 /**
  * Test get/set bullet font
  */
 public function testSetGetBulletFont()
 {
     $object = new Bullet();
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Style\\Bullet', $object->setBulletFont());
     $this->assertEquals('Calibri', $object->getBulletFont());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Style\\Bullet', $object->setBulletFont(''));
     $this->assertEquals('Calibri', $object->getBulletFont());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Style\\Bullet', $object->setBulletFont('Arial'));
     $this->assertEquals('Arial', $object->getBulletFont());
 }