UninstallerInterface

Extends

interface for classes that uninstall a module.

since 1.7
package

Default

Methods

Redefine this method if you do some additional process after the uninstallation of all modules.

postUninstall(\Jelix\Installer\Module\API\InstallHelpers $helpers) 
Throws
\Exception

if an error occurs during the post installation

Arguments

Called before the uninstallation of all other modules.

preUninstall(\Jelix\Installer\Module\API\PreInstallHelpers $helpers) 

Here, you should check if the module can be uninstalled or not

Throws
\Exception

if the module cannot be uninstalled

Arguments

should uninstall the module.

uninstall(\Jelix\Installer\Module\API\InstallHelpers $helpers) 
Throws
\Exception

if an error occurs during the uninstall

Arguments