From 14b463da1c4853b358b9dd05ed387586efd31961 Mon Sep 17 00:00:00 2001 From: Nico Schoenmaker Date: Wed, 27 Nov 2013 12:55:12 +0100 Subject: [PATCH] Added reference to script events in plugins.md --- doc/articles/plugins.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/articles/plugins.md b/doc/articles/plugins.md index 400b3452b..75706f711 100644 --- a/doc/articles/plugins.md +++ b/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