123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- <?php
- namespace OCP;
- use OCP\Files\NotFoundException;
- use OCP\Files\SimpleFS\ISimpleFile;
- interface IAvatar {
-
- public function get(int $size = 64, bool $darkTheme = false);
-
- public function exists(): bool;
-
- public function isCustomAvatar(): bool;
-
- public function set($data): void;
-
- public function remove(bool $silent = false): void;
-
- public function getFile(int $size, bool $darkTheme = false): ISimpleFile;
-
- public function avatarBackgroundColor(string $hash): Color;
-
- public function userChanged(string $feature, $oldValue, $newValue): void;
- }
|