PhpOffice\PhpPresentation\PhpPresentation::getDocumentProperties PHP Method

getDocumentProperties() public method

Get properties
public getDocumentProperties ( ) : PhpOffice\PhpPresentation\DocumentProperties
return PhpOffice\PhpPresentation\DocumentProperties
    public function getDocumentProperties()
    {
        return $this->documentProperties;
    }

Usage Example

 public function testProperties()
 {
     $object = new PhpPresentation();
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\DocumentProperties', $object->getProperties());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\DocumentProperties', $object->getDocumentProperties());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\PhpPresentation', $object->setProperties(new DocumentProperties()));
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\DocumentProperties', $object->getProperties());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\DocumentProperties', $object->getDocumentProperties());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\PhpPresentation', $object->setDocumentProperties(new DocumentProperties()));
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\DocumentProperties', $object->getProperties());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\DocumentProperties', $object->getDocumentProperties());
 }
All Usage Examples Of PhpOffice\PhpPresentation\PhpPresentation::getDocumentProperties