private static function loadRemoteComplements()
    {
        $currentID = App::getCurrentID();
        $complement = self::getType();
        $remote = self::$config['remote'];

        $complements = array_keys(self::$instances[$currentID][$complement]);

        foreach ($remote as $complement => $url) {
            if (! in_array($complement, $complements, true)) {
                self::load($url);
            }

            self::$complement()->setOption('config-url', $url);
        }
    }
private static function loadRemoteComplements()
    {
        $currentID = App::getCurrentID();
        $complement = self::getType();
        $remote = self::$config['remote'];

        $complements = array_keys(self::$instances[$currentID][$complement]);

        foreach ($remote as $complement => $url) {
            if (! in_array($complement, $complements, true)) {
                self::load($url);
            }

            self::$complement()->setOption('config-url', $url);
        }
    }
private static function loadRemoteComplements ( ) { $ currentID = App :: getCurrentID ( ) ; $ complement = self :: getType ( ) ; $ remote = self :: $ config [ 'remote' ] ; $ complements = array_keys ( self :: $ instances [ $ currentID ] [ $ complement ] ) ; foreach ( $ remote as $ complement => $ url ) { if ( ! in_array ( $ complement , $ complements , true ) ) { self :: load ( $ url ) ; } self :: $ complement ( ) -> setOption ( 'config-url' , $ url ) ; } }
Load remote complements.

@uses \Eliasis\Complement\Complement->$instances
@uses \Eliasis\Complement\Complement::load()
@uses \Eliasis\Complement\Complement::$errors
Load remote complements .