An Injector that's part of the environment injector hierarchy, which exists outside of the component tree.
Injector
abstract class EnvironmentInjector { abstract get(token: ProviderToken<T>, notFoundValue: undefined, options: InjectOptions & { optional?: false; }): T; abstract get(token: ProviderToken<T>, notFoundValue: null, options: InjectOptions): T; abstract get(token: ProviderToken<T>, notFoundValue?: T, options?: InjectOptions): T; abstract get(token: ProviderToken<T>, notFoundValue?: T, flags?: InjectFlags): T; abstract get(token: any, notFoundValue?: any): any; abstract get(token: ProviderToken<T>, notFoundValue: undefined, options: InjectOptions & { optional?: false; }): T; abstract get(token: ProviderToken<T>, notFoundValue: null, options: InjectOptions): T; abstract get(token: ProviderToken<T>, notFoundValue?: T, options?: InjectOptions): T; abstract get(token: ProviderToken<T>, notFoundValue?: T, flags?: InjectFlags): T; abstract get(token: any, notFoundValue?: any): any; abstract get(token: ProviderToken<T>, notFoundValue: undefined, options: InjectOptions & { optional?: false; }): T; abstract get(token: ProviderToken<T>, notFoundValue: null, options: InjectOptions): T; abstract get(token: ProviderToken<T>, notFoundValue?: T, options?: InjectOptions): T; abstract get(token: ProviderToken<T>, notFoundValue?: T, flags?: InjectFlags): T; abstract get(token: any, notFoundValue?: any): any; abstract get(token: ProviderToken<T>, notFoundValue: undefined, options: InjectOptions & { optional?: false; }): T; abstract get(token: ProviderToken<T>, notFoundValue: null, options: InjectOptions): T; abstract get(token: ProviderToken<T>, notFoundValue?: T, options?: InjectOptions): T; abstract get(token: ProviderToken<T>, notFoundValue?: T, flags?: InjectFlags): T; abstract get(token: any, notFoundValue?: any): any; abstract get(token: ProviderToken<T>, notFoundValue: undefined, options: InjectOptions & { optional?: false; }): T; abstract get(token: ProviderToken<T>, notFoundValue: null, options: InjectOptions): T; abstract get(token: ProviderToken<T>, notFoundValue?: T, options?: InjectOptions): T; abstract get(token: ProviderToken<T>, notFoundValue?: T, flags?: InjectFlags): T; abstract get(token: any, notFoundValue?: any): any; abstract runInContext(fn: () => ReturnT): ReturnT; abstract destroy(): void;}