export default class IOC { static singletonInstances: { serviceName: string; instance: any; }[]; /** * Core services are services what sosise-core provides out of the box. * When user tries to get instance with make method the order is the following: * 1. IOC tries to find the name in user defined config ioc.ts * 2. If the first try fails, IOC tries to find the name in the coreServices * 3. When the first and second steps fails exception will be raised */ private static coreServices; /** * Get service from IOC */ static make(serviceName: T): any; /** * Get service singleton from IOC */ static makeSingleton(serviceName: T): any; }