Commit 83706831 authored by Avris's avatar Avris

v4.0

parent 6ff50f16
......@@ -7,7 +7,7 @@ orm:
- '#module'
- '@Psr\Log\LoggerInterface'
- '@?doctrineCache'
events: ['cacheClear', 'cacheWarmup', 'console']
#events: ['cacheClear', 'cacheWarmup', 'console']
userProvider:
class: Avris\Micrus\Doctrine\DoctrineUserProvider
......
......@@ -73,6 +73,8 @@ class Doctrine implements ORM, ParametersProvider
return $this->entityManager->getRepository($type)->findOneBy([$attribute => $value]);
}
// TODO re-think those three events
public function onCacheClear()
{
$config = $this->entityManager->getConfiguration();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment