PhpOffice\PhpPresentation\PhpPresentation::getProperties PHP Method

getProperties() public method

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

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::getProperties