*/ namespace oat\taoQtiTest\scripts\install; use oat\oatbox\extension\InstallAction; use oat\taoQtiTest\models\export\preprocessor\IdentifierReplacementPreProcessor; use oat\taoQtiTest\models\export\preprocessor\AssessmentItemRefPreProcessor; /** * Set PreProcessing Configuration Install Action */ class SetExportPreProcessing extends InstallAction { /** * @param $params * @return \common_report_Report */ public function __invoke($params) { $this->getServiceManager()->register(AssessmentItemRefPreProcessor::SERVICE_ID, new IdentifierReplacementPreProcessor()); return new \common_report_Report( \common_report_Report::TYPE_SUCCESS, "PreProcessing configuration set." ); } }