4 ms·
Dependency injection: A more hip way to say "function parameters". Not really. Matching the identifier is simply an optional convenience for the developer, the
by vectorpush 13y ago
Dependency injection: A more hip way to say "function parameters".
Not really. Matching the identifier is simply an optional convenience for the developer, the "dependency injection" refers to the mechanism that allows you to configure, mock, or replace the "function parameter" before the framework injects it into scope.