From b370d32abb275ade40cbb4716981982111b3990c 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 602287056..5632d59fc 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.