Class FactoryManager

public

The interface representing a manager which can be used for introspection of the factory's class or for the creation of factory instances with initial properties. The manager is an object with the following properties:

  • class - The registered or resolved class.
  • create - A function that will create an instance of the class with any dependencies injected.

Note: FactoryManager is not user-constructible; the only legal way to get a FactoryManager is via Owner.factoryFor.

Show:

Module: @ember/owner

The registered or resolved class.