2 namespace wcf\system\package\plugin
;
5 * Every PackageInstallationPlugin has to implement this interface.
8 * @copyright 2001-2014 WoltLab GmbH
9 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
10 * @package com.woltlab.wcf
11 * @subpackage system.package.plugin
12 * @category Community Framework
14 interface IPackageInstallationPlugin
{
16 * Executes the installation of this plugin.
18 public function install();
21 * Executes the update of this plugin.
23 public function update();
26 * Returns true if the uninstallation of the given package should execute
31 public function hasUninstall();
34 * Executes the uninstallation of this plugin.
36 public function uninstall();