Skip to content
Snippets Groups Projects
Commit 7fc637bb authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

add db and cache to definitions, re #1684

Merge request studip/studip!1116
parent ea456559
No related branches found
No related tags found
No related merge requests found
Pipeline #7110 passed
...@@ -13,4 +13,10 @@ return [ ...@@ -13,4 +13,10 @@ return [
), ),
]); ]);
}), }),
StudipCache::class => DI\factory(function () {
return StudipCacheFactory::getCache();
}),
StudipPDO::class => DI\factory(function () {
return DBManager::get();
}),
]; ];
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment