private static function uninstallRequest()
    {
        self::$id = self::$config['id'];
        $that = self::getInstance();
        $that->remove();
        $state = 'uninstalled';

        $response = [
            'state' => $state,
            'errors' => self::$errors,
        ];

        echo json_encode($response);
    }
private static function uninstallRequest()
    {
        self::$id = self::$config['id'];
        $that = self::getInstance();
        $that->remove();
        $state = 'uninstalled';

        $response = [
            'state' => $state,
            'errors' => self::$errors,
        ];

        echo json_encode($response);
    }
private static function uninstallRequest ( ) { self :: $ id = self :: $ config [ 'id' ] ; $ that = self :: getInstance ( ) ; $ that -> remove ( ) ; $ state = 'uninstalled' ; $ response = [ 'state' => $ state , 'errors' => self :: $ errors , ] ; echo json_encode ( $ response ) ; }
Uninstall request.

@uses \Eliasis\Complement\Complement::getInstance()
@uses \string ComplementImport->remove()
@uses \Eliasis\Complement\Complement::$errors
Uninstall request .