src/Complement.php
public static function setCurrentID($id)
    {
        $type = self::getType();
        $appID = App::getCurrentID();
        if (array_key_exists($id, self::$instances[$appID][$type])) {
            self::$id = $id;

            return true;
        }

        return false;
    }
public static function setCurrentID($id)
    {
        $type = self::getType();
        $appID = App::getCurrentID();
        if (array_key_exists($id, self::$instances[$appID][$type])) {
            self::$id = $id;

            return true;
        }

        return false;
    }
public static function setCurrentID ( $ id ) { $ type = self :: getType ( ) ; $ appID = App :: getCurrentID ( ) ; if ( array_key_exists ( $ id , self :: $ instances [ $ appID ] [ $ type ] ) ) { self :: $ id = $ id ; return true ; } return false ; }
Define the current complement ID.

@since 1.1.0

@param string $id → complement ID

@return bool
Define the current complement ID .