Method | Description | |
---|---|---|
__construct ( |
Construct a new Composer NPM bridge plugin. | |
activate ( Composer\Composer $composer, Composer\IO\IOInterface $io ) | Activate the plugin. | |
getSubscribedEvents ( ) : string>\array |
Get the event subscriber configuration for this plugin. | |
onPostInstallCmd ( Composer\Script\Event $event ) | Handle post install command events. | |
onPostUpdateCmd ( Composer\Script\Event $event ) | Handle post update command events. |
public __construct ( |
||
$bridgeFactory | The bridge factory to use. |
public activate ( Composer\Composer $composer, Composer\IO\IOInterface $io ) | ||
$composer | Composer\Composer | The main Composer object. |
$io | Composer\IO\IOInterface | The i/o interface to use. |
public static getSubscribedEvents ( ) : string>\array |
||
return | string>\array |
public onPostInstallCmd ( Composer\Script\Event $event ) | ||
$event | Composer\Script\Event | The event to handle. |
public onPostUpdateCmd ( Composer\Script\Event $event ) | ||
$event | Composer\Script\Event | The event to handle. |