From: Christoph Wurst Date: Fri, 17 Jul 2020 08:17:18 +0000 (+0200) Subject: Undeprecate IAppContainer and IServerContainer X-Git-Tag: v20.0.0beta1~215^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=22ff03969ef96f96998fb54e4821ed040ba680f6;p=nextcloud-server.git Undeprecate IAppContainer and IServerContainer With 4152216bd8cf9d49e6749d26bb8b491dd49b089b these two interfaces got deprecated with the reasoning that we only need the base PSR interface. However, there are cases where in Nextcloud you still want to have a specific container (the one for the app vs the one for the server) when you either have a container injected or query one from a container. With a single interface that would not be possible. So it's probably better if we leave the two interfaces, but only have them extend the PSR interface. IContainer – with the custom methods – shall still be phased out, but the two other sub interfaces can stay for tagging purposes. Tagging means that no methods shall be added. Signed-off-by: Christoph Wurst --- diff --git a/lib/public/AppFramework/IAppContainer.php b/lib/public/AppFramework/IAppContainer.php index 2a3689e7063..f3497a6e0e1 100644 --- a/lib/public/AppFramework/IAppContainer.php +++ b/lib/public/AppFramework/IAppContainer.php @@ -1,4 +1,7 @@