Skip to content

Commit 5e18238

Browse files
committed
fix(appconfig): mark searchKeys() as internal until 32
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
1 parent 36c3270 commit 5e18238

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

lib/private/AppConfig.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ public function getKeys(string $app): array {
119119
* @param bool $lazy TRUE to search in lazy config keys
120120
* @return list<string> list of stored config keys
121121
* @since 32.0.0
122+
* @internal not publicly available before 32.
122123
*/
123124
public function searchKeys(string $app, string $prefix = '', bool $lazy = false): array {
124125
$this->assertParams($app);

lib/public/IAppConfig.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -72,19 +72,6 @@ public function getApps(): array;
7272
*/
7373
public function getKeys(string $app): array;
7474

75-
/**
76-
* Returns list of keys stored in database, related to an app.
77-
* Please note that the values are not returned.
78-
*
79-
* @param string $app id of the app
80-
* @param string $prefix returns only keys starting with this value
81-
* @param bool $lazy TRUE to search in lazy config keys
82-
*
83-
* @return list<string> list of stored config keys
84-
* @since 32.0.0
85-
*/
86-
public function searchKeys(string $app, string $prefix = '', bool $lazy = false): array;
87-
8875
/**
8976
* Check if a key exists in the list of stored config values.
9077
*

0 commit comments

Comments
 (0)