@Provider class with a Symbol token and configurable scope for the DI container.
Usage
Options
| Option | Type | Default | Description |
|---|---|---|---|
name | string | — | Required. The name of the provider |
project | string | — | Required. The project to add the provider to |
scope | singleton | request | context | singleton | The provider scope |
directory | string | — | Subdirectory within src/providers/ |