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

setBulletChar() public method

Set bullet char
public setBulletChar ( string $pValue = '-' ) : Bullet
$pValue string
return Bullet
    public function setBulletChar($pValue = '-')
    {
        $this->bulletChar = $pValue;
        return $this;
    }

Usage Example

示例#1
0
 /**
  * Test get/set bullet char
  */
 public function testSetGetBulletChar()
 {
     $object = new Bullet();
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Style\\Bullet', $object->setBulletChar());
     $this->assertEquals('-', $object->getBulletChar());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Style\\Bullet', $object->setBulletChar('a'));
     $this->assertEquals('a', $object->getBulletChar());
 }
All Usage Examples Of PhpOffice\PhpPresentation\Style\Bullet::setBulletChar