From bb74f761f11cb5d515ace30a8d29dcea43b8a236 Mon Sep 17 00:00:00 2001 From: dassio Date: Sun, 4 Oct 2020 11:20:37 +0100 Subject: [PATCH] change to suffixing Signed-off-by: dassio --- developer_manual/app/events.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/developer_manual/app/events.rst b/developer_manual/app/events.rst index a8403c6a2..fe3ca5f5c 100644 --- a/developer_manual/app/events.rst +++ b/developer_manual/app/events.rst @@ -24,7 +24,7 @@ This mechanism is a versatile and typed approach to events in Nextcloud's php co Naming scheme ````````````` -The name should reflect the subject and the actions. Prefixing event classes with `Event` makes it easier to recognize their purpose. +The name should reflect the subject and the actions. Suffixing event classes with `Event` makes it easier to recognize their purpose. For example, if a user is created, a `UserCreatedEvent` will be emitted.