From 2902e9ee067c5d8ba9e8a59dfe36c296473fa453 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Pluchino?= Date: Wed, 25 Jan 2012 18:29:44 +0100 Subject: [PATCH] Update doc/faqs/triggers.md --- doc/faqs/triggers.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/faqs/triggers.md b/doc/faqs/triggers.md index 05083a40f..14bccbef5 100644 --- a/doc/faqs/triggers.md +++ b/doc/faqs/triggers.md @@ -8,7 +8,7 @@ project. This event is raised before and after each action (install, update). ## Where are the event types defined? -It is in the constant property in `Composer\\Trigger\\TriggerEvents` class. +It is in the constant property in `Composer\Trigger\TriggerEvents` class. ## How is it defined? @@ -22,6 +22,7 @@ in associative array define the event's type. The PSR-0 must be defined, otherwise the trigger will not be triggered. For any given project: + ```json { "extra": { @@ -43,6 +44,7 @@ For any given project: ``` Trigger Example: + ```php