Runtime :: getTarget: Bitrix method

      
<?php 
//  Bitrix\Bizproc\Automation\Engine\Runtime :: getTarget()
//  /dist/bitrix/modules/bizproc/lib/automation/engine/runtime.php:26

    
public function getTarget()
    {
        if (
$this->target === null)
        {
            throw new 
InvalidOperationException('Target must be set by setTarget method.');
        }

        return 
$this->target;
    }