public static function flush() {
		if(self::$entity_manager == null)
			self::initialize();

		return call_user_func_array(array(self::$entity_manager, "flush"), func_get_args());
	}
public static function flush() {
		if(self::$entity_manager == null)
			self::initialize();

		return call_user_func_array(array(self::$entity_manager, "flush"), func_get_args());
	}
public static function flush ( ) { if ( self :: $ entity_manager == null ) self :: initialize ( ) ; return call_user_func_array ( array ( self :: $ entity_manager , "flush" ) , func_get_args ( ) ) ; }
Wrapper to the Doctrine2 flush function.

This function will call the 'flush' function on the Doctrine2 Entity Manager.

@see http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/index.html
@return null
Wrapper to the Doctrine2 flush function .