Skip to content

Commit 526eb0c

Browse files
committed
Add all() function
1 parent a4ddaa9 commit 526eb0c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Sources/ExtendedConfiguration/Application+Settings.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ extension Application {
2929
public subscript(index: String) -> Any? {
3030
self.items[index]
3131
}
32+
33+
public func all() -> [String: Any] {
34+
return items
35+
}
3236
}
3337

3438
struct SettingsKey: StorageKey {

0 commit comments

Comments
 (0)