PhpOffice\PhpPresentation\Shape\Comment\Author::getInitials PHP Method

getInitials() public method

public getInitials ( ) : mixed
return mixed
    public function getInitials()
    {
        return $this->initials;
    }

Usage Example

Example #1
0
 public function testGetSetInitials()
 {
     $expectedVal = 'AABBCCDD';
     $object = new Author();
     $this->assertNull($object->getInitials());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Comment\\Author', $object->setInitials($expectedVal));
     $this->assertEquals($expectedVal, $object->getInitials());
 }