code: function (name) {
        for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
          args[_key - 1] = arguments[_key];
        }
  
        _emberMetalEvents.sendEvent(this, name, args);
      }
docs: Triggers a named event for the object. Any additional arguments
  will be passed as parameters to the functions that are subscribed to the
  event.
  ```javascript
  person.on('didEat', function(food) {
  console.log('person ate some ' + food);
  });
  person.trigger('didEat', 'broccoli');
  outputs: person ate some broccoli
  ```
  @method trigger
  @param {String} name The name of the event
  @param {Object...} args Optional arguments to pass on
  @public