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
|
@ -13,6 +13,17 @@ class Plugin8 implements PluginInterface, Capable
|
|||
|
||||
public function activate(Composer $composer, IOInterface $io)
|
||||
{
|
||||
$io->write('activate v8');
|
||||
}
|
||||
|
||||
public function deactivate(Composer $composer, IOInterface $io)
|
||||
{
|
||||
$io->write('deactivate v8');
|
||||
}
|
||||
|
||||
public function uninstall(Composer $composer, IOInterface $io)
|
||||
{
|
||||
$io->write('uninstall v8');
|
||||
}
|
||||
|
||||
public function getCapabilities()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue