benchmarks/scenarios/ember.js
function Container(registry, options) {
    this.registry = registry;
    this.owner = options && options.owner ? options.owner : null;
    this.cache = _emberMetalDictionary.default(options && options.cache ? options.cache : null);
    this.factoryCache = _emberMetalDictionary.default(options && options.factoryCache ? options.factoryCache : null);
    this.validationCache = _emberMetalDictionary.default(options && options.validationCache ? options.validationCache : null);
    this._fakeContainerToInject = _emberRuntimeMixinsContainer_proxy.buildFakeContainerWithDeprecations(this);
    this[CONTAINER_OVERRIDE] = undefined;
  }
function Container(registry, options) {
    this.registry = registry;
    this.owner = options && options.owner ? options.owner : null;
    this.cache = _emberMetalDictionary.default(options && options.cache ? options.cache : null);
    this.factoryCache = _emberMetalDictionary.default(options && options.factoryCache ? options.factoryCache : null);
    this.validationCache = _emberMetalDictionary.default(options && options.validationCache ? options.validationCache : null);
    this._fakeContainerToInject = _emberRuntimeMixinsContainer_proxy.buildFakeContainerWithDeprecations(this);
    this[CONTAINER_OVERRIDE] = undefined;
  }
function Container ( registry , options ) { this . registry = registry ; this . owner = options && options . owner ? options . owner : null ; this . cache = _emberMetalDictionary . default ( options && options . cache ? options . cache : null ) ; this . factoryCache = _emberMetalDictionary . default ( options && options . factoryCache ? options . factoryCache : null ) ; this . validationCache = _emberMetalDictionary . default ( options && options . validationCache ? options . validationCache : null ) ; this . _fakeContainerToInject = _emberRuntimeMixinsContainer_proxy . buildFakeContainerWithDeprecations ( this ) ; this [ CONTAINER_OVERRIDE ] = undefined ; }
A container used to instantiate and cache objects.

Every `Container` must be associated with a `Registry`, which is referenced
to determine the factory and options that should be used to instantiate
objects.

The public API for `Container` is still in flux and should not be considered
stable.

@private
@class Container
A container used to instantiate and cache objects .