-
-
Notifications
You must be signed in to change notification settings - Fork 600
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into snyk-upgrade-5eeaa187e11ac5f3cbe0771fda8ec424
- Loading branch information
Showing
56 changed files
with
566 additions
and
331 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<?php | ||
|
||
namespace Leantime\Domain\Plugins\Contracts; | ||
|
||
/** | ||
* Interface PluginInterface | ||
* | ||
* This interface represents a plugin that can be installed, uninstalled, enabled, and disabled. | ||
*/ | ||
interface PluginInterface | ||
{ | ||
|
||
/** | ||
* Installs the plugin. | ||
* | ||
* @return bool True if the installation is successful, false otherwise. | ||
*/ | ||
public function install(): bool; | ||
|
||
/** | ||
* Uninstalls the plugin. | ||
* | ||
* This method performs the necessary actions to uninstall the application and remove all associated files and data. | ||
* | ||
* @return bool Returns true if the uninstallation is successful, false otherwise. | ||
*/ | ||
public function uninstall(): bool; | ||
|
||
/** | ||
* Enables the plugin. | ||
* | ||
* This method performs the necessary actions to enable the specified functionality. It may update configuration settings, start background processes, or perform any other actions required | ||
* to enable the functionality. | ||
* | ||
* @return bool Returns true if the enable operation is successful, false otherwise. | ||
*/ | ||
public function enable(): bool; | ||
|
||
/** | ||
* Disable the plugin. | ||
* | ||
* This method disables the functionality and returns a boolean value indicating whether the functionality is successfully disabled or not. | ||
* | ||
* @return bool True if the functionality is successfully disabled, false otherwise. | ||
*/ | ||
public function disable(): bool; | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.