CBitrixCloudMonitoring :: getInterval: Bitrix method

      
<?php 
//  CBitrixCloudMonitoring :: getInterval()
//  /dist/bitrix/modules/bitrixcloud/classes/general/monitoring.php:172

    
public function getInterval()
    {
        if (
$this->interval <= 0)
        {
            
$this->interval intval(COption::GetOptionInt("bitrixcloud""monitoring_interval"));
            if (
                
$this->interval != 7
                
&& $this->interval != 30
                
&& $this->interval != 90
                
&& $this->interval != 365
            
)
                
$this->interval 7;
        }
        return 
$this->interval;
    }