src/Identity/SocialRecordManager.php
public static function retrieveSocialRecord($globalID, $skipCache = false)
	{
		if(Sonic::socialRecordCachingEnabled() === true && $skipCache === false)
		{
			$sr = Sonic::getSocialRecordCaching()->getSocialRecordFromCache($globalID);
			
			if($sr !== false)
			{
				$sr->verify();
				return $sr;
			}
		}
		
		return GSLS::getSocialRecord($globalID);
	}
public static function retrieveSocialRecord($globalID, $skipCache = false)
	{
		if(Sonic::socialRecordCachingEnabled() === true && $skipCache === false)
		{
			$sr = Sonic::getSocialRecordCaching()->getSocialRecordFromCache($globalID);
			
			if($sr !== false)
			{
				$sr->verify();
				return $sr;
			}
		}
		
		return GSLS::getSocialRecord($globalID);
	}
public static function retrieveSocialRecord ( $ globalID , $ skipCache = false ) { if ( Sonic :: socialRecordCachingEnabled ( ) === true && $ skipCache === false ) { $ sr = Sonic :: getSocialRecordCaching ( ) -> getSocialRecordFromCache ( $ globalID ) ; if ( $ sr !== false ) { $ sr -> verify ( ) ; return $ sr ; } } return GSLS :: getSocialRecord ( $ globalID ) ; }
Retrieves a SocialRecord for a given GID from the GSLS or local cache
throws Exception

@param $globalID String The globalID to resolve
@param $skipCache Boolean Determin whether caching should be skipped or not

@return SocialRecord if social record exists. Otherwise, an exception is thrown
Retrieves a SocialRecord for a given GID from the GSLS or local cache throws Exception