/** * @param CreatorData $creatorData * * @return string */ protected function getWebsiteDirectory(CreatorData $creatorData) { return FS::joinPath($creatorData->getBaseDirectory(), $creatorData->getWebsiteSubDirectory()); }
/** * @return \Cms\Data\Creator */ public function getCreatorData() { $creatorData = new CreatorData(); $creatorData->setName($this->creatorName)->setVersion($this->creatorVersion)->setBaseDirectory($this->getWorkingDirectory())->setMetaSubDirectory($this->getMetaSubDirectory())->setWebsiteSubDirectory($this->getWebsiteSubDirectory())->setInfoFilesSubDirectory($this->getInfoFilesSubDirectory()); return $creatorData; }