src/Sonic.php
public function setUniqueIDManager(IUniqueIDManager $uniqueIDManagerObject)
	{
		if(self::$_instance === NULL)
			throw new SonicRuntimeException('Sonic instance not initialized');
		
		if(!array_key_exists('sgoendoer\Sonic\Crypt\IUniqueIDManager', class_implements($uniqueIDManagerObject)))
		{
			throw new SonicRuntimeException('UniqueIDManager must implement sgoendoer\Sonic\Crypt\IUniqueIDManager');
		}
		else
			$this->uniqueIDManager = $uniqueIDManagerObject;
		
		return self::$_instance;
	}
public function setUniqueIDManager(IUniqueIDManager $uniqueIDManagerObject)
	{
		if(self::$_instance === NULL)
			throw new SonicRuntimeException('Sonic instance not initialized');
		
		if(!array_key_exists('sgoendoer\Sonic\Crypt\IUniqueIDManager', class_implements($uniqueIDManagerObject)))
		{
			throw new SonicRuntimeException('UniqueIDManager must implement sgoendoer\Sonic\Crypt\IUniqueIDManager');
		}
		else
			$this->uniqueIDManager = $uniqueIDManagerObject;
		
		return self::$_instance;
	}
public function setUniqueIDManager ( IUniqueIDManager $ uniqueIDManagerObject ) { if ( self :: $ _instance === NULL ) throw new SonicRuntimeException ( 'Sonic instance not initialized' ) ; if ( ! array_key_exists ( 'sgoendoer\Sonic\Crypt\IUniqueIDManager' , class_implements ( $ uniqueIDManagerObject ) ) ) { throw new SonicRuntimeException ( 'UniqueIDManager must implement sgoendoer\Sonic\Crypt\IUniqueIDManager' ) ; } else $ this -> uniqueIDManager = $ uniqueIDManagerObject ; return self :: $ _instance ; }
sets the UniqueIDManager

@param $uniqueIDManagerObject The IUniqueIDManager instance
@return Sonic instance
sets the UniqueIDManager