public static function write_close() {

        if ( self::$sessionState === self::SESSION_STARTED ) {
            self::$sessionState = self::SESSION_NOT_STARTED;

            return session_write_close();
        }

        return true;
    }
public static function write_close() {

        if ( self::$sessionState === self::SESSION_STARTED ) {
            self::$sessionState = self::SESSION_NOT_STARTED;

            return session_write_close();
        }

        return true;
    }
public static function write_close ( ) { if ( self :: $ sessionState === self :: SESSION_STARTED ) { self :: $ sessionState = self :: SESSION_NOT_STARTED ; return session_write_close ( ) ; } return true ; }
Write the tmp file and close it

@return bool
Write the tmp file and close it