From 3022ef687a7bef87fc8eff7e29a68d8cf64542e9 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 14 Mar 2019 12:30:34 +0100 Subject: Use rich objects instead of name, link and icon Signed-off-by: Joas Schilling --- lib/public/Collaboration/Resources/IResource.php | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) (limited to 'lib/public/Collaboration/Resources/IResource.php') diff --git a/lib/public/Collaboration/Resources/IResource.php b/lib/public/Collaboration/Resources/IResource.php index 0a3e36a33ce..32567a3be0a 100644 --- a/lib/public/Collaboration/Resources/IResource.php +++ b/lib/public/Collaboration/Resources/IResource.php @@ -42,23 +42,10 @@ interface IResource { public function getId(): string; /** - * @return string - * @since 16.0.0 - */ - public function getName(): string; - - /** - * Absolute link to an icon to represent the resource - * @return string - * @since 16.0.0 - */ - public function getIconLink(): string; - - /** - * @return string + * @return array * @since 16.0.0 */ - public function getLink(): string; + public function getRichObject(): array; /** * Can a user/guest access the resource -- cgit v1.2.3