public static function initTimer($wsGetArray, $wsPostArray, $cachetimeLbl, $lastrequestLbl) { self::$timeOnInit = time(); self::$wsGetList = $wsGetArray; self::$wsPostList = $wsPostArray; self::$cachetimeLbl = $cachetimeLbl; self::$lastrequestLbl = $lastrequestLbl; $completeWslist = array_merge(self::$wsGetList, self::$wsPostList); foreach ($completeWslist as $ws) { // ex 'OSI_CACHETIME_WSO-G002' $WSOInfosList[] = self::$cachetimeLbl . $ws; // ex 'OSI_LASTREQUEST_WSO-G002' $WSOInfosList[] = self::$lastrequestLbl . $ws; } self::$wsInfosList = configuration::getMultiple($WSOInfosList); }