original_string: public static function import_model(string $zipfilepath) : \core_analytics\model {
  
          \core_analytics\manager::check_can_manage_models();
  
          $modelconfig = new \core_analytics\model_config();
          return $modelconfig->import($zipfilepath);
      }
code: public static function import_model(string $zipfilepath) : \core_analytics\model {
  
          \core_analytics\manager::check_can_manage_models();
  
          $modelconfig = new \core_analytics\model_config();
          return $modelconfig->import($zipfilepath);
      }
code_tokens: public static function import_model ( string $ zipfilepath ) : \ core_analytics \ model { \ core_analytics \ manager :: check_can_manage_models ( ) ; $ modelconfig = new \ core_analytics \ model_config ( ) ; return $ modelconfig -> import ( $ zipfilepath ) ; }
docstring: Imports the provided model.
  
  Note that this method assumes that model_config::check_dependencies has already been called.
  
  @throws \moodle_exception
  @param  string $zipfilepath Zip file path
  @return \core_analytics\model
docstring_tokens: Imports the provided model .