Page Contents

Home > @loopback/rest > createControllerFactoryForBinding

createControllerFactoryForBinding() function

Create a controller factory function for a given binding key

Signature:

export declare function createControllerFactoryForBinding<T extends object>(key: string): ControllerFactory<T>;

Parameters

Parameter Type Description
key string Binding key

Returns:

ControllerFactory<T>