public static function reset(bool $init_autoloader = false)
	{
		static::$mocks = [];

		static::$instances = [];

		if ($init_autoloader)
		{
			static::autoloader()->initialize(new Autoload(), new Modules());
		}
	}
public static function reset(bool $init_autoloader = false)
	{
		static::$mocks = [];

		static::$instances = [];

		if ($init_autoloader)
		{
			static::autoloader()->initialize(new Autoload(), new Modules());
		}
	}
public static function reset ( bool $ init_autoloader = false ) { static :: $ mocks = [ ] ; static :: $ instances = [ ] ; if ( $ init_autoloader ) { static :: autoloader ( ) -> initialize ( new Autoload ( ) , new Modules ( ) ) ; } }
Reset shared instances and mocks for testing.

@param boolean $init_autoloader Initializes autoloader instance
Reset shared instances and mocks for testing .