diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2021-01-22 14:53:26 +0100 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2021-01-22 14:53:26 +0100 |
commit | ac591e2fc20e8da111e33e0a4a5b8d186317087b (patch) | |
tree | 3cd7ca117d4ef53baae65665d41d97415c62e23a | |
parent | a38743d9db7bfbe7f525828b4bc1e7bd562775e8 (diff) | |
download | nextcloud-server-ac591e2fc20e8da111e33e0a4a5b8d186317087b.tar.gz nextcloud-server-ac591e2fc20e8da111e33e0a4a5b8d186317087b.zip |
Fully deprecate the old initial state interface, not just the methods
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
-rw-r--r-- | lib/public/IInitialStateService.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/public/IInitialStateService.php b/lib/public/IInitialStateService.php index 7f3e495ea22..44c4a4fd3da 100644 --- a/lib/public/IInitialStateService.php +++ b/lib/public/IInitialStateService.php @@ -31,6 +31,8 @@ use Closure; /** * @since 16.0.0 + * @deprecated 21 Use OCP\AppFramework\Services\IInitialState or OCP\AppFramework\Services\InitialStateProvider + * @see \OCP\AppFramework\Services\IInitialState */ interface IInitialStateService { /** @@ -45,6 +47,7 @@ interface IInitialStateService { * @param bool|int|float|string|array|\JsonSerializable $data * * @deprecated 21 Use OCP\AppFramework\Services\IInitialState or OCP\AppFramework\Services\InitialStateProvider + * @see \OCP\AppFramework\Services\IInitialState::provideInitialState() */ public function provideInitialState(string $appName, string $key, $data): void; @@ -62,6 +65,7 @@ interface IInitialStateService { * @param Closure $closure returns a primitive or an object that implements JsonSerializable * * @deprecated 21 Use OCP\AppFramework\Services\IInitialState or OCP\AppFramework\Services\InitialStateProvider + * @see \OCP\AppFramework\Services\IInitialState::provideLazyInitialState() */ public function provideLazyInitialState(string $appName, string $key, Closure $closure): void; } |