DelayInterval :: toArray: Bitrix method

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

    
public function toArray()
    {
        return array(
            
'type' => $this->getType(),
            
'value' => $this->getValue(),
            
'valueType' => $this->getValueType(),
            
'basis' => $this->getBasis(),
            
'workTime' => $this->isWorkTime(),
            
'localTime' => $this->isLocalTime(),
        );
    }