CBitrixCloudMonitoringDomainResult::loadFromOptions: Bitrix method

      
<?php 
//  CBitrixCloudMonitoringDomainResult :: loadFromOptions()
//  /dist/bitrix/modules/bitrixcloud/classes/general/monitoring_result.php:205

    
public static function loadFromOptions($nameCBitrixCloudOption $option)
    {
        
$tests = array();
        foreach (
$option->getArrayValue() as $testName => $testResult)
        {
            
$testResult unserialize($testResult);
            if (
is_array($testResult))
            {
                
$test = new CBitrixCloudMonitoringTest(
                    
$testName,
                    
$testResult["status"],
                    
$testResult["time"],
                    
$testResult["uptime"],
                    
$testResult["result"]
                );
                
$tests[$test->getName()] = $test;
            }
        }
        return new 
CBitrixCloudMonitoringDomainResult($name$tests);
    }