Condition :: __construct: Bitrix method

      
<?php 
//  Bitrix\Bizproc\Automation\Engine\Condition :: __construct()
//  /dist/bitrix/modules/bizproc/lib/automation/engine/condition.php:13

    
public function __construct(array $params null)
    {
        if (
$params)
        {
            if (isset(
$params['field']))
            {
                
$this->setField($params['field']);
            }
            if (isset(
$params['operator']))
            {
                
$this->setOperator($params['operator']);
            }
            if (isset(
$params['value']))
            {
                
$this->setValue($params['value']);
            }
        }
    }