瀏覽代碼

Merge pull request #2465 from hostnet/feature/linked-events

Added reference to script events in plugins.md
Jordi Boggiano 11 年之前
父節點
當前提交
b7a4d5b239
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      doc/articles/plugins.md

+ 3 - 0
doc/articles/plugins.md

@@ -84,6 +84,8 @@ The events available for plugins are:
   you to manipulate the `RemoteFilesystem` object prior to downloading files
   based on the URL to be downloaded.
 
+> A plugin can also subscribe to [script events][7].
+
 Example:
 
     namespace Naderman\Composer\AWS;
@@ -145,3 +147,4 @@ local project plugins are loaded.
 [4]: https://github.com/composer/composer/blob/master/src/Composer/Composer.php
 [5]: https://github.com/composer/composer/blob/master/src/Composer/IO/IOInterface.php
 [6]: https://github.com/composer/composer/blob/master/src/Composer/EventDispatcher/EventSubscriberInterface.php
+[7]: ./scripts.md#event-names