1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Add plugin callbacks for deactivation and uninstall, fixes #3000

This commit is contained in:
Jordi Boggiano 2019-02-18 18:14:46 +01:00
parent 1b7e957cc1
commit 3fc9ede24b
No known key found for this signature in database
GPG key ID: 7BBD42C429EC80BC
14 changed files with 282 additions and 10 deletions

View file

@ -10,5 +10,16 @@ class Plugin5 implements PluginInterface
{
public function activate(Composer $composer, IOInterface $io)
{
$io->write('activate v5');
}
public function deactivate(Composer $composer, IOInterface $io)
{
$io->write('deactivate v5');
}
public function uninstall(Composer $composer, IOInterface $io)
{
$io->write('uninstall v5');
}
}