]> source.dussan.org Git - nextcloud-server.git/commit
Simple AppConfig wrapper for the AppFramework 20782/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Sat, 2 May 2020 13:34:28 +0000 (15:34 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Sat, 2 May 2020 13:34:28 +0000 (15:34 +0200)
commit8a8623c569169696a77b3d492538ef28c89bcda0
treee50b49979b579cf4dd26b8796d6b023c2b566876
parent8910a1ffcba8d78831a238d170700e8ace3e0979
Simple AppConfig wrapper for the AppFramework

9 out of 10 cases apps want to access their own appconfig. Hence it
would be nice not to have to enter the app id all the time. This simple
wrapper just passes on the appid in all calls.

Basically this allows for simpler code in the apps.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
lib/composer/composer/autoload_classmap.php
lib/composer/composer/autoload_static.php
lib/private/AppFramework/DependencyInjection/DIContainer.php
lib/private/AppFramework/Services/AppConfig.php [new file with mode: 0644]
lib/public/AppFramework/Services/IAppConfig.php [new file with mode: 0644]