src/Sonic.php
public static function setPlatformAuthData(EntityAuthData $entityAuthData)
	{
		if(self::$_instance === NULL)
			throw new SonicRuntimeException('Sonic instance not initialized');
		
		self::$_instance->platformAuthData = $entityAuthData;
		
		return self::$_instance;
	}
public static function setPlatformAuthData(EntityAuthData $entityAuthData)
	{
		if(self::$_instance === NULL)
			throw new SonicRuntimeException('Sonic instance not initialized');
		
		self::$_instance->platformAuthData = $entityAuthData;
		
		return self::$_instance;
	}
public static function setPlatformAuthData ( EntityAuthData $ entityAuthData ) { if ( self :: $ _instance === NULL ) throw new SonicRuntimeException ( 'Sonic instance not initialized' ) ; self :: $ _instance -> platformAuthData = $ entityAuthData ; return self :: $ _instance ; }
set the platform's AuthData

@param EntityAuthData object of the platform
set the platform s AuthData