CBitrixCloudCDNLocations::saveOption: Bitrix method

      
<?php 
//  CBitrixCloudCDNLocations :: saveOption()
//  /dist/bitrix/modules/bitrixcloud/classes/general/cdn_location.php:291

    
public function saveOption(CBitrixCloudOption $option)
    {
        
$locations /*.(array[string]string).*/ array();
        foreach (
$this->locations as $location_name => $location)
        {
            
/* @var CBitrixCloudCDNLocation $location */
            
$locations[$location_name] = $location->getOptionValue();
        }
        
$option->setArrayValue($locations);
        return 
$this;
    }