PhpOffice\PhpPresentation\Shape\Chart::getTitle PHP Method

getTitle() public method

Get Title
public getTitle ( ) : PhpOffice\PhpPresentation\Shape\Chart\Title
return PhpOffice\PhpPresentation\Shape\Chart\Title
    public function getTitle()
    {
        return $this->title;
    }

Usage Example

Example #1
0
 public function testConstruct()
 {
     $object = new Chart();
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Title', $object->getTitle());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Legend', $object->getLegend());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\PlotArea', $object->getPlotArea());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\View3D', $object->getView3D());
 }
All Usage Examples Of PhpOffice\PhpPresentation\Shape\Chart::getTitle