diff options
Diffstat (limited to 'lib/public/IAvatarManager.php')
-rw-r--r-- | lib/public/IAvatarManager.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/public/IAvatarManager.php b/lib/public/IAvatarManager.php index 4b89173d88b..890bcd1e6dd 100644 --- a/lib/public/IAvatarManager.php +++ b/lib/public/IAvatarManager.php @@ -45,4 +45,13 @@ interface IAvatarManager { */ public function getAvatar(string $user) : IAvatar; + /** + * Returns a guest user avatar instance. + * + * @param string $name The guest name, e.g. "Albert". + * @return IAvatar + * @since 16.0.0 + */ + public function getGuestAvatar(string $name): IAvatar; + } |