Function globalAutowire

Autowire the given instance using the globally available dependency container.

deprecated void globalAutowire(Type) (
  Type instance
);

See Also

DependencyContainer

Deprecated

Using the global container is undesired. See DependencyContainer.getInstance().