mirror of
https://github.com/composer/composer
synced 2025-05-09 08:32:56 +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 Plugin implements PluginInterface
|
|||
|
||||
public function activate(Composer $composer, IOInterface $io)
|
||||
{
|
||||
$io->write('activate v1');
|
||||
}
|
||||
|
||||
public function deactivate(Composer $composer, IOInterface $io)
|
||||
{
|
||||
$io->write('deactivate v1');
|
||||
}
|
||||
|
||||
public function uninstall(Composer $composer, IOInterface $io)
|
||||
{
|
||||
$io->write('uninstall v1');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue