CBitrixCloudCDNLocation::getOptionValue: Bitrix method

      
<?php 
//  CBitrixCloudCDNLocation :: getOptionValue()
//  /dist/bitrix/modules/bitrixcloud/classes/general/cdn_location.php:175

    
public function getOptionValue()
    {
        
$services /*.(array[string]string).*/ array();
        foreach (
$this->classes as $i => $file_class)
        {
            
/* @var CBitrixCloudCDNClass $file_class */
            
$class_name $file_class->getName();
            
/* @var CBitrixCloudCDNServerGroup $server_group */
            
$server_group $this->server_groups[$i];
            
$services[$class_name] = $server_group->getName();
        }
        return 
serialize(array(
            
"proto" => $this->proto,
            
"prefixes" => $this->prefixes,
            
"services" => $services,
        ));
    }