DelayInterval::setType: Bitrix method

      
<?php 
//  Bitrix\Bizproc\Automation\Engine\DelayInterval :: setType()
//  /dist/bitrix/modules/bizproc/lib/automation/engine/delayinterval.php:106

    
public function setType($type)
    {
        
$type = (string)$type;
        if (
$type === static::TYPE_BEFORE || $type === static::TYPE_AFTER || $type === static::TYPE_IN)
        {
            
$this->type $type;
        }

        return 
$this;
    }