CBitrixCloudCDNServerGroups :: fromOption: Bitrix method

      
<?php 
//  CBitrixCloudCDNServerGroups :: fromOption()
//  /dist/bitrix/modules/bitrixcloud/classes/general/cdn_server.php:120

    
public static function fromOption(CBitrixCloudOption $option)
    {
        
$groups = new CBitrixCloudCDNServerGroups;
        foreach (
$option->getArrayValue() as $group_name => $servers)
        {
            
$groups->addGroup(new CBitrixCloudCDNServerGroup($group_nameexplode(","$servers)));
        }
        return 
$groups;
    }