/** * Executes the transformation process. * * @throws Zend_Console_Getopt_Exception * * @return void */ public function execute() { $task = new DocBlox_Task_Project_Parse(); $task->setFilename($this->getFilename()); $task->setDirectory($this->getDirectory()); if ($this->getTarget() !== null) { $task->setTarget($this->getTarget()); } $task->setExtensions($this->getExtensions()); $task->setIgnore($this->getIgnore()); $task->setMarkers($this->getMarkers()); $task->setConfig($this->getConfig()); $task->setVerbose($this->getVerbose()); $task->setQuiet($this->getQuiet()); $task->setTitle($this->getTitle()); $task->setForce($this->getForce()); $task->setValidate($this->getValidate()); $task->setVisibility($this->getVisibility()); $task->setDefaultpackagename($this->getDefaultpackagename()); $task->execute(); $transform = new DocBlox_Task_Project_Transform(); if ($this->getTarget() !== null) { $transform->setTarget($task->getTarget()); } $transform->setTemplate($this->getTemplate()); $transform->setSource($task->getTarget() . DIRECTORY_SEPARATOR . 'structure.xml'); $transform->setVerbose($task->getVerbose()); $transform->setQuiet($task->getQuiet()); $transform->setParseprivate($this->getParseprivate()); $transform->execute(); }