CBitrixCloudCDNClasses :: fromOption: Bitrix method

      
<?php 
//  CBitrixCloudCDNClasses :: fromOption()
//  /dist/bitrix/modules/bitrixcloud/classes/general/cdn_class.php:118

    
public static function fromOption(CBitrixCloudOption $option)
    {
        
$classes = new CBitrixCloudCDNClasses;
        foreach (
$option->getArrayValue() as $class_name => $extensions)
        {
            
$classes->addClass(new CBitrixCloudCDNClass($class_nameexplode(","$extensions)));
        }
        return 
$classes;
    }