UninstallerInterface
in
interface for classes that uninstall a module.
Tags
Table of Contents
- postUninstall() : mixed
- Redefine this method if you do some additional process after the uninstallation of all modules.
- preUninstall() : mixed
- Called before the uninstallation of all other modules.
- uninstall() : mixed
- should uninstall the module.
Methods
postUninstall()
Redefine this method if you do some additional process after the uninstallation of all modules.
public
postUninstall(InstallHelpers $helpers) : mixed
Parameters
- $helpers : InstallHelpers
Tags
Return values
mixed —preUninstall()
Called before the uninstallation of all other modules.
public
preUninstall(PreInstallHelpers $helpers) : mixed
Here, you should check if the module can be uninstalled or not
Parameters
- $helpers : PreInstallHelpers
Tags
Return values
mixed —uninstall()
should uninstall the module.
public
uninstall(InstallHelpers $helpers) : mixed
Parameters
- $helpers : InstallHelpers