getName() public method

Get the name of the slide
public getName ( ) : string
return string
Example #1
0
 public function testName()
 {
     $object = new Slide();
     $this->assertNull($object->getName());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Slide', $object->setName('AAAA'));
     $this->assertEquals('AAAA', $object->getName());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Slide', $object->setName());
     $this->assertNull($object->getName());
 }