private function dispatchEvent(AbstractResource $resource, $locale)
    {
        return $this->dispatcher->dispatch(
            'export_scorm_'.$resource->getResourceNode()->getResourceType()->getName(),
            'Claroline\\ScormBundle\\Event\\ExportScormResourceEvent',
            [$resource, $locale]
        );
    }