diff options
author | Joas Schilling <coding@schilljs.com> | 2021-01-15 08:32:09 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-01-15 08:34:24 +0100 |
commit | b8acf2fe69a856511e004a512e2168ac6990c87a (patch) | |
tree | f222efedd8dcf89c8f9cb09101b825e005d75d4c /lib/public/AppFramework/Bootstrap | |
parent | b0caa55563acc16c02a3bb8463af863d4f83879c (diff) | |
download | nextcloud-server-b8acf2fe69a856511e004a512e2168ac6990c87a.tar.gz nextcloud-server-b8acf2fe69a856511e004a512e2168ac6990c87a.zip |
Add a hint about the direction of priority
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/public/AppFramework/Bootstrap')
-rw-r--r-- | lib/public/AppFramework/Bootstrap/IRegistrationContext.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/public/AppFramework/Bootstrap/IRegistrationContext.php b/lib/public/AppFramework/Bootstrap/IRegistrationContext.php index 002db267293..197275fb8e3 100644 --- a/lib/public/AppFramework/Bootstrap/IRegistrationContext.php +++ b/lib/public/AppFramework/Bootstrap/IRegistrationContext.php @@ -119,7 +119,8 @@ interface IRegistrationContext { * @psalm-param string|class-string<T> $event preferably the fully-qualified class name of the Event sub class to listen for * @param string $listener fully qualified class name (or ::class notation) of a \OCP\EventDispatcher\IEventListener that can be built by the DI container * @psalm-param class-string<\OCP\EventDispatcher\IEventListener<T>> $listener fully qualified class name that can be built by the DI container - * @param int $priority + * @param int $priority The higher this value, the earlier an event + * listener will be triggered in the chain (defaults to 0) * * @see IEventDispatcher::addServiceListener() * |