bind session repository
This commit is contained in:
parent
762bbb7fda
commit
ef842f5758
1 changed files with 4 additions and 0 deletions
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
use DI;
|
||||
use DI\Container;
|
||||
use App\Auth\JsonSessionRepository;
|
||||
use App\Auth\SessionRepository;
|
||||
use App\Text\TextRepository;
|
||||
use App\Text\JsonTextRepository;
|
||||
use App\Node\NodeRepository;
|
||||
|
|
@ -20,6 +22,8 @@ $container = new Container([
|
|||
UserRepository::class => DI\autowire(JsonUserRepository::class),
|
||||
ScheduledNodeRepository::class =>
|
||||
DI\autowire(JsonScheduledNodeRepository::class),
|
||||
SessionRepository::class =>
|
||||
DI\autowire(JsonSessionRepository::class),
|
||||
]);
|
||||
|
||||
return $container;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue