public function createPublishSet(PublishSetContainer $parent, $name)
 {
     if (trim($name) == "") {
         throw new e\CreationErrorException(S_SPAN . c\M::EMPTY_PUBLISH_SET_NAME . E_SPAN);
     }
     $asset = AssetTemplate::getPublishSet();
     $asset->publishSet->name = $name;
     $asset->publishSet->parentContainerPath = $parent->getPath();
     $asset->publishSet->siteName = $parent->getSiteName();
     return $this->createAsset($asset, PublishSet::TYPE, $this->getPath($parent, $name), $parent->getSiteName());
 }