CBPWorkflow::__construct: Bitrix method

      
<?php 
//  CBPWorkflow :: __construct()
//  /dist/bitrix/modules/bizproc/classes/general/workflow.php:67

    
public function __construct($instanceIdCBPRuntime $runtime)
    {
        if (
strlen($instanceId) <= 0)
            throw new 
Exception("instanceId");
        if (!
$runtime)
            throw new 
Exception("runtime");

        
$this->instanceId $instanceId;
        
$this->runtime $runtime;
    }