CBitrixCloudCDNLocation::addService: Bitrix method

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

    
public function addService($file_class$server_group)
    {
        if (
is_object($file_class) && $file_class instanceof CBitrixCloudCDNClass && is_object($server_group) && $server_group instanceof CBitrixCloudCDNServerGroup)
        {
            
$this->classes[] = $file_class;
            
$this->server_groups[] = $server_group;
        }
        return 
$this;
    }