<commit_before><?php
class SymantecScanEnginePlugin extends KalturaPlugin implements IKalturaPending, IKalturaEnumerator, IKalturaObjectLoader
{
	const PLUGIN_NAME = 'symantecScanEngine';
	const VIRUS_SCAN_PLUGIN_NAME = 'virusScan';
	
	/**
	 * @return array<KalturaDependency>
	 */
	public static function dependsOn()
	{
		return array(new KalturaDependency(self::VIRUS_SCAN_PLUGIN_NAME));
	}

	/**
	 * @return array<string> list of enum classes names that extend the base enum name
	 */
	public static function getEnums($baseEnumName)
	{
		if($baseEnumName == 'VirusScanEngineType')
			return array('SymantecScanEngineVirusScanEngineType');
			
		return array();
	}

	/**
	 * 
	 */
	public static function getPluginName()
	{
		return self::PLUGIN_NAME;
	}
	
	/**
	 * @param string $baseClass
	 * @param string $enumValue
	 * @param array $constructorArgs
	 * @return object
	 */
	public static function loadObject($baseClass, $enumValue, array $constructorArgs = null)
	{
		if($baseClass == 'VirusScanEngine' && $enumValue == SymantecScanEngineVirusScanEngineType::get()->apiValue(SymantecScanEngineVirusScanEngineType::SYMANTEC_SCAN_ENGINE))
			return new SymantecScanEngine();

		return null;
	}
	
	/**
	 * @param string $baseClass
	 * @param string $enumValue
	 * @return string
	 */
	public static function getObjectClass($baseClass, $enumValue)
	{
		if($baseClass == 'VirusScanEngine' && $enumValue == SymantecScanEngineVirusScanEngineType::get()->apiValue(SymantecScanEngineVirusScanEngineType::SYMANTEC_SCAN_ENGINE))
			return 'SymantecScanEngine';

		return null;
	}
}<commit_msg>engine loader loaded from client batch and can use generated enum<commit_after><?php
class SymantecScanEnginePlugin extends KalturaPlugin implements IKalturaPending, IKalturaEnumerator, IKalturaObjectLoader
{
	const PLUGIN_NAME = 'symantecScanEngine';
	const VIRUS_SCAN_PLUGIN_NAME = 'virusScan';
	
	/**
	 * @return array<KalturaDependency>
	 */
	public static function dependsOn()
	{
		return array(new KalturaDependency(self::VIRUS_SCAN_PLUGIN_NAME));
	}

	/**
	 * @return array<string> list of enum classes names that extend the base enum name
	 */
	public static function getEnums($baseEnumName)
	{
		if($baseEnumName == 'VirusScanEngineType')
			return array('SymantecScanEngineVirusScanEngineType');
			
		return array();
	}

	/**
	 * 
	 */
	public static function getPluginName()
	{
		return self::PLUGIN_NAME;
	}
	
	/**
	 * @param string $baseClass
	 * @param string $enumValue
	 * @param array $constructorArgs
	 * @return object
	 */
	public static function loadObject($baseClass, $enumValue, array $constructorArgs = null)
	{
		if($baseClass == 'VirusScanEngine' && $enumValue == KalturaVirusScanEngineType::SYMANTEC_SCAN_ENGINE)
			return new SymantecScanEngine();

		return null;
	}
	
	/**
	 * @param string $baseClass
	 * @param string $enumValue
	 * @return string
	 */
	public static function getObjectClass($baseClass, $enumValue)
	{
		if($baseClass == 'VirusScanEngine' && $enumValue == KalturaVirusScanEngineType::SYMANTEC_SCAN_ENGINE)
			return 'SymantecScanEngine';

		return null;
	}
}
{'fraction_non_alphanumeric': 0.10516490354698195, 'fraction_numerical': 0.0, 'mean_word_length': 4.177133655394525, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4552360', 'n_tokens_mistral': 1101, 'n_tokens_neox': 999, 'n_words': 214}