PluginEvents
in package
The Plugin Events.
Tags
Table of Contents
- COMMAND = 'command'
- The COMMAND event occurs as a command begins
- INIT = 'init'
- The INIT event occurs after a Composer instance is done being initialized
- PRE_COMMAND_RUN = 'pre-command-run'
- The PRE_COMMAND_RUN event occurs before a command is executed and lets you modify the input arguments/options
- PRE_FILE_DOWNLOAD = 'pre-file-download'
- The PRE_FILE_DOWNLOAD event occurs before downloading a file
Constants
COMMAND
The COMMAND event occurs as a command begins
public
string
COMMAND
= 'command'
The event listener method receives a Composer\Plugin\CommandEvent instance.
INIT
The INIT event occurs after a Composer instance is done being initialized
public
string
INIT
= 'init'
The event listener method receives a Composer\EventDispatcher\Event instance.
PRE_COMMAND_RUN
The PRE_COMMAND_RUN event occurs before a command is executed and lets you modify the input arguments/options
public
string
PRE_COMMAND_RUN
= 'pre-command-run'
The event listener method receives a Composer\Plugin\PreCommandRunEvent instance.
PRE_FILE_DOWNLOAD
The PRE_FILE_DOWNLOAD event occurs before downloading a file
public
string
PRE_FILE_DOWNLOAD
= 'pre-file-download'
The event listener method receives a Composer\Plugin\PreFileDownloadEvent instance.