CBPSchedulerService::addAgent: Bitrix method

      
<?php 
//  CBPSchedulerService :: addAgent()
//  /dist/bitrix/modules/bizproc/classes/general/schedulerservice.php:80

    
private static function addAgent($workflowId$eventName$expiresAt$counter 0)
    {
        
$params '[\'SchedulerService\' => \'OnAgent\', \'Counter\' => '.((int) $counter).']';
        
$name "CBPSchedulerService::OnAgent('{$workflowId}', '{$eventName}', {$params});";
        return 
self::addAgentInternal($name$expiresAt);
    }