public function export($outDir) { $userCurrentDir = getcwd(); if (substr($outDir, -1) != DIRECTORY_SEPARATOR) { $outDir .= DIRECTORY_SEPARATOR; } parent::export($outDir); $this->ctx = new PHP_UML_Output_ApiContextPackage(); $this->docClass = new PHP_UML_Output_Php_DocClass($this); $this->docInterface = new PHP_UML_Output_Php_DocInterface($this); chdir($outDir); // we analyse the inheritance/impl relations beforehand: $this->setAllSuperClassifiers($this->structure->packages); $this->treatPackage($this->structure->packages); chdir($userCurrentDir); }
/** * Return the current ApiContextPackage object * * @return PHP_UML_Output_ApiContextPackage */ protected function getContextPackage() { return $this->exporter->getContextPackage(); }