* Bind an array of Server constructors to the Application's master * context. * Each server added in this way will automatically be named based on the * class constructor name with the "servers." prefix. * * @remarks * If you wish to control the binding keys for particular server i
(ctors: Constructor<T>[])
| 231 | * |
| 232 | */ |
| 233 | public servers<T extends Server>(ctors: Constructor<T>[]): Binding[] { |
| 234 | return ctors.map(ctor => this.server(ctor)); |
| 235 | } |
| 236 | |
| 237 | /** |
| 238 | * Retrieve the singleton instance for a bound server. |
no test coverage detected