diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-14 19:53:36 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-14 19:53:36 +0900 |
| commit | 72288497e8a4cac3a3696d863de6a803bc85d773 (patch) | |
| tree | 6f1d7723a476afb798788e5a695f891e129a56b0 /crates/shirabe/src/plugin | |
| parent | 5350d7f77f3e3c270cfefd5c90f8805def09dc0c (diff) | |
| download | php-shirabe-72288497e8a4cac3a3696d863de6a803bc85d773.tar.gz php-shirabe-72288497e8a4cac3a3696d863de6a803bc85d773.tar.zst php-shirabe-72288497e8a4cac3a3696d863de6a803bc85d773.zip | |
feat(port): port PluginEvents.php
Diffstat (limited to 'crates/shirabe/src/plugin')
| -rw-r--r-- | crates/shirabe/src/plugin/plugin_events.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/crates/shirabe/src/plugin/plugin_events.rs b/crates/shirabe/src/plugin/plugin_events.rs index e029e35..ea7ad10 100644 --- a/crates/shirabe/src/plugin/plugin_events.rs +++ b/crates/shirabe/src/plugin/plugin_events.rs @@ -1 +1,12 @@ //! ref: composer/src/Composer/Plugin/PluginEvents.php + +pub struct PluginEvents; + +impl PluginEvents { + pub const INIT: &'static str = "init"; + pub const COMMAND: &'static str = "command"; + pub const PRE_FILE_DOWNLOAD: &'static str = "pre-file-download"; + pub const POST_FILE_DOWNLOAD: &'static str = "post-file-download"; + pub const PRE_COMMAND_RUN: &'static str = "pre-command-run"; + pub const PRE_POOL_CREATE: &'static str = "pre-pool-create"; +} |
