mirror of
https://github.com/composer/composer
synced 2025-05-11 01:22:54 +00:00
Add plugin callbacks for deactivation and uninstall, fixes #3000
This commit is contained in:
parent
1b7e957cc1
commit
3fc9ede24b
14 changed files with 282 additions and 10 deletions
|
@ -12,5 +12,16 @@ class Plugin2 implements PluginInterface
|
|||
|
||||
public function activate(Composer $composer, IOInterface $io)
|
||||
{
|
||||
$io->write('activate v3');
|
||||
}
|
||||
|
||||
public function deactivate(Composer $composer, IOInterface $io)
|
||||
{
|
||||
$io->write('deactivate v3');
|
||||
}
|
||||
|
||||
public function uninstall(Composer $composer, IOInterface $io)
|
||||
{
|
||||
$io->write('uninstall v3');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue