public static function setCurrentID($id)
    {
        if (array_key_exists($id, self::$instances)) {
            self::$id = $id;

            return true;
        }

        return false;
    }
public static function setCurrentID($id)
    {
        if (array_key_exists($id, self::$instances)) {
            self::$id = $id;

            return true;
        }

        return false;
    }
public static function setCurrentID ( $ id ) { if ( array_key_exists ( $ id , self :: $ instances ) ) { self :: $ id = $ id ; return true ; } return false ; }
Define the current application ID.

@since 1.1.2

@param string $id → application ID

@return bool
Define the current application ID .