RegistryProxyMixin#unregister()

unregister (fullName) public Defined in packages/ember-runtime/lib/mixins/registry_proxy.js:90 Unregister a factory. let App = Ember.Application.create(); let User = Ember.Object.extend(); App.register('model:user', User); App.resolveRegistration('model:user').create() instanceof User //=> true App.unregister('model:user') App.resolveRegistration('model:user') === undefined //=> true Parameters: fullName String

Dependency Injection

Dependency Injection Ember applications utilize the dependency injection ("DI") design pattern to declare and instantiate classes of objects and dependencies between them. Applications and application instances each serve a role in Ember's DI implementation. An Ember.Application serves as a "registry" for dependency declarations. Factories (i.e. classes) are registered with an application, as well as rules about "injecting" dependencies that are applied when objects are instantiated. An Ember

DS.JSONAPISerializer#modelNameFromPayloadType()

modelNameFromPayloadType (payloadType) Stringpublic Inherited from DS.JSONSerializer but overwritten in addon/serializers/json-api.js:630 modelNameFromPayloadType can be used to change the mapping for a DS model name, taken from the value in the payload. Say your API namespaces the type of a model and returns the following payload for the post model: // GET /api/posts/1 { "data": { "id": 1, "type: "api::v1::post" } } By overwriting modelNameFromPayloadType you can specify that

Route#routeName

routeNameStringpublic Defined in packages/ember-routing/lib/system/route.js:131 The name of the route, dot-delimited. For example, a route found at app/routes/posts/post.js or app/posts/post/route.js (with pods) will have a routeName of posts.post.

DS.JSONAPIAdapter#findMany()

findMany (store, type, ids, snapshots) Promise Inherited from DS.RESTAdapter but overwritten in addon/adapters/json-api.js:112 Parameters: store DS.Store type DS.Model ids Array snapshots Array Returns: Promise promise

DS.Model.modelName

modelNameStringstatic Defined in addon/-private/system/model/model.js:985 Represents the model's class name as a string. This can be used to look up the model through DS.Store's modelFor method. modelName is generated for you by Ember Data. It will be a lowercased, dasherized string. For example: store.modelFor('post').modelName; // 'post' store.modelFor('blog-post').modelName; // 'blog-post' The most common place you'll want to access modelName is in your serializer's payloadKeyFromModelN

Router#hasRoute()

hasRouteBooleanprivate Defined in packages/ember-routing/lib/system/router.js:433 Does this router instance have the given route. Returns: Boolean

Registry#options()

options (fullName, options) private Defined in packages/container/lib/registry.js:397 Parameters: fullName String options Object

DS.RecordArray#isLoaded

isLoadedBoolean Defined in addon/-private/system/record-arrays/record-array.js:46 The flag to signal a RecordArray is finished loading data. Example var people = store.peekAll('person'); people.get('isLoaded'); // true

Ember.getOwner()

getOwner (object) Objectpublic Defined in packages/container/lib/owner.js:10 Available since 2.3.0 Framework objects in an Ember application (components, services, routes, etc.) are created via a factory and dependency injection system. Each of these objects is the responsibility of an "owner", which handled its instantiation and manages its lifetime. getOwner fetches the owner object responsible for an instance. This can be used to lookup or resolve other class instances, or register new f