getLayoutPack() public method

Get layout pack to use
Deprecation: 0.7
public getLayoutPack ( ) : AbstractLayoutPack
return PhpOffice\PhpPresentation\Writer\PowerPoint2007\LayoutPack\AbstractLayoutPack
 /**
  * Test create new instance
  */
 public function testConstruct()
 {
     $objectPrefix = 'PhpOffice\\PhpPresentation\\Writer\\PowerPoint2007\\';
     $parts = array('contenttypes' => 'ContentTypes', 'docprops' => 'DocProps', 'rels' => 'Rels', 'theme' => 'Theme', 'presentation' => 'Presentation', 'slide' => 'Slide', 'drawing' => 'Drawing', 'chart' => 'Chart');
     $oPhpPresentation = new PhpPresentation();
     $object = new PowerPoint2007($oPhpPresentation);
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\PhpPresentation', $object->getPhpPresentation());
     $this->assertEquals('./', $object->getDiskCachingDirectory());
     $this->assertInstanceOf("{$objectPrefix}LayoutPack\\PackDefault", $object->getLayoutPack());
     foreach ($parts as $partName => $objectName) {
         $this->assertInstanceOf($objectPrefix . $objectName, $object->getWriterPart($partName));
     }
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\HashTable', $object->getDrawingHashTable());
 }
 /**
  * Test LayoutPack
  * @deprecated 0.7
  */
 public function testLayoutPack()
 {
     $oLayoutPack = $this->getMock('PhpOffice\\PhpPresentation\\Writer\\PowerPoint2007\\LayoutPack\\AbstractLayoutPack');
     $object = new PowerPoint2007();
     $this->assertInstanceOf("PhpOffice\\PhpPresentation\\Writer\\PowerPoint2007\\LayoutPack\\AbstractLayoutPack", $object->getLayoutPack());
     $this->assertInstanceOf("PhpOffice\\PhpPresentation\\Writer\\PowerPoint2007", $object->setLayoutPack());
     $this->assertNull($object->getLayoutPack());
     $this->assertInstanceOf("PhpOffice\\PhpPresentation\\Writer\\PowerPoint2007", $object->setLayoutPack($oLayoutPack));
     $this->assertInstanceOf("PhpOffice\\PhpPresentation\\Writer\\PowerPoint2007\\LayoutPack\\AbstractLayoutPack", $object->getLayoutPack());
 }