diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2020-10-03 16:47:38 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2020-10-04 10:35:33 +0300 |
commit | f865a3a1c2405af5c649b6d78f95b93ed60ba04f (patch) | |
tree | c7194750f2c4c88be23b0cd4ec508a59d8b61d0b /lib/public/IInitialStateService.php | |
parent | eba83d22bbcf45caf400704b8794acce180c5ba9 (diff) |
Move initial state provider to boostrap
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/public/IInitialStateService.php')
-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 905cf2a9a58..7f3e495ea22 100644 --- a/lib/public/IInitialStateService.php +++ b/lib/public/IInitialStateService.php @@ -43,6 +43,8 @@ interface IInitialStateService { * @param string $appName * @param string $key * @param bool|int|float|string|array|\JsonSerializable $data + * + * @deprecated 21 Use OCP\AppFramework\Services\IInitialState or OCP\AppFramework\Services\InitialStateProvider */ public function provideInitialState(string $appName, string $key, $data): void; @@ -58,6 +60,8 @@ interface IInitialStateService { * @param string $appName * @param string $key * @param Closure $closure returns a primitive or an object that implements JsonSerializable + * + * @deprecated 21 Use OCP\AppFramework\Services\IInitialState or OCP\AppFramework\Services\InitialStateProvider */ public function provideLazyInitialState(string $appName, string $key, Closure $closure): void; } |