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

getName() public method

public getName ( ) : string
return string
    public function getName()
    {
        return $this->name;
    }

Usage Example

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