* 3: Checksum
* 0 1 2 3
*/
- const PACKAGE_MASK = '%s^%s^%s^%s';
+ const PACKAGE_MASK = '%s%s%s%s%s%s%s';
/**
* Seperator for the above mask
$content = sprintf(self::PACKAGE_MASK,
// 1.) Compressor's extension
$this->getCompressorInstance()->getCompressorExtension(),
+ // - separator
+ self::PACKAGE_MASK_SEPARATOR,
// 2.) Raw package content, encoded with BASE64
base64_encode($content),
+ // - separator
+ self::PACKAGE_MASK_SEPARATOR,
// 3.) Tags
implode(self::PACKAGE_TAGS_SEPERATOR, $helperInstance->getPackageTags()),
+ // - separator
+ self::PACKAGE_MASK_SEPARATOR,
// 4.) Checksum
$this->getHashFromContent($content, $helperInstance, $nodeInstance)
);
* @return void
*/
public function assembleDecodedDataToPackage () {
+ // Make sure the raw decoded package data is handled
+ assert($this->isIncomingDecodedDataHandled());
$this->getStackerInstance()->debugInstance();
$this->partialStub('Please implement this method.');
}