benchmarks/scenarios/ember.js
function createInjectionHelper(type, validator) {
    typeValidators[type] = validator;

    inject[type] = function (name) {
      return new _emberMetalInjected_property.default(type, name);
    };
  }
function createInjectionHelper(type, validator) {
    typeValidators[type] = validator;

    inject[type] = function (name) {
      return new _emberMetalInjected_property.default(type, name);
    };
  }
function createInjectionHelper ( type , validator ) { typeValidators [ type ] = validator ; inject [ type ] = function ( name ) { return new _emberMetalInjected_property . default ( type , name ) ; } ; }
This method allows other Ember modules to register injection helpers for a
given container type. Helpers are exported to the `inject` namespace as the
container type itself.

@private
@method createInjectionHelper
@since 1.10.0
@for Ember
@param {String} type The container type the helper will inject
@param {Function} validator A validation callback that is executed at mixin-time
This method allows other Ember modules to register injection helpers for a given container type . Helpers are exported to the inject namespace as the container type itself .