mirror of
https://github.com/nextcloud/documentation.git
synced 2025-10-26 11:18:02 +00:00
change to suffixing
Signed-off-by: dassio <dassio@icloud.com>
This commit is contained in:
parent
2e51de4c05
commit
bb74f761f1
@ -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.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user