ConditionGroup :: setType: Bitrix method

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

    
public function setType($type)
    {
        if (
$type === static::TYPE_FIELD)
        {
            
$this->type $type;
        }
        return 
$this;
    }