Module: Resolver:constructor

Creates a new component instance using a constructor.

Methods


constructor(dependencyKey)

Treats the registered component as a constructor and calls it to produce an instance which then becomes the resolved instance.
Parameters:
Name Type Argument Description
dependencyKey string <optional>
<repeatable>
A dependency key to resolve and pass as an argument to the constructor.