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:
parent
1b7e957cc1
commit
3fc9ede24b
14 changed files with 282 additions and 10 deletions
|
@ -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');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue