Ejemplo n.º 1
0
 /**
  * @param CreatorData $creatorData
  *
  * @return string
  */
 protected function getWebsiteDirectory(CreatorData $creatorData)
 {
     return FS::joinPath($creatorData->getBaseDirectory(), $creatorData->getWebsiteSubDirectory());
 }
Ejemplo n.º 2
0
 /**
  * @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;
 }