Array
(
)

PowerPoint yii2

PHP
Jose
   - 30 mai 2016

Gostaria de saber como faço para criar um titulo no powerPoint criado com o Yii2, pois ultilizo este codigo mas não funciona.
$oPHPPresentation = new PhpPresentation();
$properties = $oPHPPresentation->getProperties();
$properties->setCreator('My name');
$properties->setCompany('My factory');
$properties->setTitle('My title');
$properties->setDescription('My description');
$properties->setCategory('My category');
$properties->setLastModifiedBy('My name');
$properties->setCreated(mktime(0, 0, 0, 3, 12, 2014));
$properties->setModified(mktime(0, 0, 0, 3, 14, 2014));
$properties->setSubject('My subject');

$oWriterPPTX = IOFactory::createWriter($oPHPPresentation, 'PowerPoint2007');
$oWriterPPTX->save("/Users/00484623141/Documents/sample/teste3.pptx");