instantiate binding, when used
This commit is contained in:
parent
4f89dc5e94
commit
f69130c02c
1 changed files with 2 additions and 1 deletions
|
|
@ -3,9 +3,10 @@
|
|||
use DI\Container;
|
||||
use FreightQuote\User\FlatFileUserRepository;
|
||||
use FreightQuote\User\UserRepository;
|
||||
use DI;
|
||||
|
||||
$container = new Container([
|
||||
UserRepository::class => FlatFileUserRepository::class,
|
||||
UserRepository::class => DI\create(FlatFileUserRepository::class),
|
||||
]);
|
||||
|
||||
return $container;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue