PhpOffice\PhpPresentation\Shape\Comment::getText PHP Method

getText() public method

public getText ( ) : string
return string
    public function getText()
    {
        return $this->text;
    }

Usage Example

 public function testGetSetText()
 {
     $expectedText = 'AABBCCDD';
     $object = new Comment();
     $this->assertNull($object->getText());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Comment', $object->setText($expectedText));
     $this->assertEquals($expectedText, $object->getText());
 }
All Usage Examples Of PhpOffice\PhpPresentation\Shape\Comment::getText