$stackerInstance = ObjectFactory::createObjectByConfiguredName('chunk_handler_stacker_class');
// Init all stacker
- $stackerInstance->initStacker(self::STACKER_NAME_CHUNKS_WITH_FINAL_EOP);
- $stackerInstance->initStacker(self::STACKER_NAME_CHUNKS_WITHOUT_FINAL);
- $stackerInstance->initStacker(self::STACKER_NAME_ASSEMBLED_RAW_DATA);
+ $stackerInstance->initStackers(array(
+ self::STACKER_NAME_CHUNKS_WITH_FINAL_EOP,
+ self::STACKER_NAME_CHUNKS_WITHOUT_FINAL,
+ self::STACKER_NAME_ASSEMBLED_RAW_DATA
+ ));
// Set the stacker in this handler
$handlerInstance->setStackerInstance($stackerInstance);