protected static function callbackRetrievedStaticFunction($patternKey, $model) {
		$patternPrefixesOptions = self::getFunctionalPatternPrefixesOptions();
		$patternKeyPrefix = self::getPatternKeyPrefix($patternKey);
		$patternKeyValue = self::getPatternKeyValue($patternKey);
		$patternPrefixFunctionName = ArrayHelper::getValue($patternPrefixesOptions, $patternKeyPrefix);

		if (!method_exists(__CLASS__, $patternPrefixFunctionName)) {
			throw new InvalidConfigException('"'.__CLASS__.'" does not exist function with name "'.$patternPrefixFunctionName.'"');
		}

		return call_user_func([__CLASS__, $patternPrefixFunctionName], $patternKeyValue, $model);
	}
protected static function callbackRetrievedStaticFunction($patternKey, $model) {
		$patternPrefixesOptions = self::getFunctionalPatternPrefixesOptions();
		$patternKeyPrefix = self::getPatternKeyPrefix($patternKey);
		$patternKeyValue = self::getPatternKeyValue($patternKey);
		$patternPrefixFunctionName = ArrayHelper::getValue($patternPrefixesOptions, $patternKeyPrefix);

		if (!method_exists(__CLASS__, $patternPrefixFunctionName)) {
			throw new InvalidConfigException('"'.__CLASS__.'" does not exist function with name "'.$patternPrefixFunctionName.'"');
		}

		return call_user_func([__CLASS__, $patternPrefixFunctionName], $patternKeyValue, $model);
	}
protected static function callbackRetrievedStaticFunction ( $ patternKey , $ model ) { $ patternPrefixesOptions = self :: getFunctionalPatternPrefixesOptions ( ) ; $ patternKeyPrefix = self :: getPatternKeyPrefix ( $ patternKey ) ; $ patternKeyValue = self :: getPatternKeyValue ( $ patternKey ) ; $ patternPrefixFunctionName = ArrayHelper :: getValue ( $ patternPrefixesOptions , $ patternKeyPrefix ) ; if ( ! method_exists ( __CLASS__ , $ patternPrefixFunctionName ) ) { throw new InvalidConfigException ( '"' . __CLASS__ . '" does not exist function with name "' . $ patternPrefixFunctionName . '"' ) ; } return call_user_func ( [ __CLASS__ , $ patternPrefixFunctionName ] , $ patternKeyValue , $ model ) ; }
Callback retrieved function based on callback pattern key prefix.

@param $patternKey
@param $model

@return mixed
@throws InvalidConfigException
Callback retrieved function based on callback pattern key prefix .