exchangeArray($data); $object->setModel($this); return $object; } public function getRegistry() { /** @var IMSPciRegistry $registry */ $registry = IMSPciRegistry::getRegistry($this); $registry->setServiceLocator(ServiceManager::getServiceManager()); $registry->setModel($this); return $registry; } public function getValidator() { return new IMSPciValidator(); } public function getDirectoryParser() { $directoryParser = new PciDirectoryParser(); $directoryParser->setModel($this); return $directoryParser; } public function getPackageParser() { $packageParser = new PciPackagerParser(); $packageParser->setModel($this); return $packageParser; } public function getExporter(PortableElementObject $dataObject, AbstractQTIItemExporter $qtiItemExporter) { return new ImsPciExporter($dataObject, $qtiItemExporter); } public function getQtiElementClassName() { return 'oat\taoQtiItem\model\qti\interaction\ImsPortableCustomInteraction'; } }