Skip to content

Commit 10c2fe3

Browse files
author
Julian Hollmann
committed
Update README.md
1 parent 9472dfc commit 10c2fe3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,14 @@ di.registerBulk([
4646
]);
4747
```
4848

49-
### `di.get()`
49+
### `di.get(name, …restArgs)`
5050

5151
#### Parameters:
5252

5353
Name | Type | Description
5454
-----|------|------------
5555
dependencyName | `string` | The name of the dependency
56+
arg1, arg2, ... | `mixed` | All args defined after the name will also be injected
5657

5758
Returns a previously registered dependency and resolves all dependencies.
5859

0 commit comments

Comments
 (0)