ConditionGroup::convertExpressions: Bitrix method

      
<?php 
//  Bitrix\Bizproc\Automation\Engine\ConditionGroup :: convertExpressions()
//  /dist/bitrix/modules/bizproc/lib/automation/engine/conditiongroup.php:296

    
private static function convertExpressions($value, array $documentType)
    {
        if (
is_array($value))
        {
            foreach (
$value as $k => $v)
            {
                
$value[$k] = self::convertExpressions($v$documentType);
            }
        }
        else
        {
            
$value Helper::convertExpressions($value$documentType);
        }
        return 
$value;
    }