PhpOffice\PhpPresentation\Shape\Chart\Series::hasShowSeriesName PHP 메소드

hasShowSeriesName() 공개 메소드

Get ShowSeriesName
public hasShowSeriesName ( ) : boolean
리턴 boolean
    public function hasShowSeriesName()
    {
        return $this->showSeriesName;
    }

Usage Example

예제 #1
0
 public function testShowSeriesName()
 {
     $object = new Series();
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Series', $object->setShowSeriesName(true));
     $this->assertTrue($object->hasShowSeriesName());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Series', $object->setShowSeriesName(false));
     $this->assertFalse($object->hasShowSeriesName());
 }