* Build a binding key for the configuration of the given binding. * The format is ` :$config` * * @param key - Key of the target binding to be configured
(key: BindingAddress = '')
| 115 | * @param key - Key of the target binding to be configured |
| 116 | */ |
| 117 | static buildKeyForConfig<T>(key: BindingAddress = ''): BindingAddress<T> { |
| 118 | const suffix = BindingKey.CONFIG_NAMESPACE; |
| 119 | const bindingKey = key ? `${key}:${suffix}` : suffix; |
| 120 | return bindingKey; |
| 121 | } |
| 122 | |
| 123 | /** |
| 124 | * Generate a universally unique binding key. |
no outgoing calls
no test coverage detected