public setShowCategoryName ( boolean $value ) : |
||
$value | boolean | |
return |
public function setShowCategoryName($value)
{
$this->showCategoryName = $value;
return $this;
}
public function testShowCategoryName() { $object = new Series(); $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Series', $object->setShowCategoryName(true)); $this->assertTrue($object->hasShowCategoryName()); $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Series', $object->setShowCategoryName(false)); $this->assertFalse($object->hasShowCategoryName()); }