getSlideLayout() public method

Get slide layout
public getSlideLayout ( ) : SlideLayout
return PhpOffice\PhpPresentation\Slide\SlideLayout
Esempio n. 1
0
 public function testSlideLayout()
 {
     $object = new Slide();
     $this->assertEquals(Slide\Layout::BLANK, $object->getSlideLayout());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Slide', $object->setSlideLayout());
     $this->assertEquals(Slide\Layout::BLANK, $object->getSlideLayout());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Slide', $object->setSlideLayout(Slide\Layout::TITLE_SLIDE));
     $this->assertEquals(Slide\Layout::TITLE_SLIDE, $object->getSlideLayout());
 }