Template :: getAvailableRobots: Bitrix method

      
<?php 
//  Bitrix\Bizproc\Automation\Engine\Template :: getAvailableRobots()
//  /dist/bitrix/modules/bizproc/lib/automation/engine/template.php:269

    
public static function getAvailableRobots(array $documentType)
    {
        
$key implode('@'$documentType);
        if (!isset(static::
$availableActivities[$key]))
        {
            static::
$availableActivities[$key] = \CBPRuntime::getRuntime()
                ->
searchActivitiesByType('robot_activity'$documentType);
        }
        return static::
$availableActivities[$key];
    }