From 8f452a1bc443f9f9be80add7583b7ff19402dca9 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/basics/events.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/developer_manual/basics/events.rst b/developer_manual/basics/events.rst index fdabafdeb..e714f6b25 100644 --- a/developer_manual/basics/events.rst +++ b/developer_manual/basics/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.