Initialize the container resolver with container bindings and options
Find if the resolver has a binding registered using the "bind", the "singleton", or the "bindValue" methods.
True if binding exists, false otherwise
Find if the resolver has a binding registered using the "bind", the "singleton", or the "bindValue" methods.
True if binding exists, false otherwise
Find if the resolver has all the bindings registered using the "bind", the "singleton", or the "bindValue" methods.
True if all bindings exist, false otherwise
Find if the resolver has all the bindings registered using the "bind", the "singleton", or the "bindValue" methods.
True if all bindings exist, false otherwise
Resolves binding in context of a parent. The method is same as the "make" method, but instead takes a parent class constructor.
OptionalruntimeValues: any[]Resolves the binding or constructor a class instance as follows.
await resolver.make('route')
await resolver.make(Database)
OptionalruntimeValues: any[]OptionalcreateError: ErrorCreatorResolves the binding or constructor a class instance as follows.
await resolver.make('route')
await resolver.make(Database)
OptionalruntimeValues: any[]OptionalcreateError: ErrorCreatorCall a method on an object by injecting its dependencies. The method dependencies are resolved in the same manner as a class constructor dependencies.
await resolver.call(await resolver.make(UsersController), 'index')
OptionalruntimeValues: any[]Register a binding as a value
container.bindValue(Route, new Route())
Need to narrow down the "Binding" for the case where "KnownBindings" are <any, any>
Binds the value to the resolver
Container resolver exposes the APIs to resolve bindings. You can think of resolver as an isolated container instance, with only the APIs to resolve bindings.