* Get the key for the current binding on which dependency injection is * performed * @param session - Resolution session
(session: ResolutionSession)
| 128 | * @param session - Resolution session |
| 129 | */ |
| 130 | function getCurrentBindingKey(session: ResolutionSession) { |
| 131 | // The current binding is not set if `instantiateClass` is invoked directly |
| 132 | return session.currentBinding?.key; |
| 133 | } |
| 134 | |
| 135 | /** |
| 136 | * Get the target binding key from which the configuration should be resolved |
no outgoing calls
no test coverage detected