Repository navigation
1.5.0
Features
$cache = new ApcCache; // Doctrine\Common\Cache\Cache
$injector = CachedInjectorFactory::getInstance(
function () : AbstractModule {
return new ProdModule;
},
'path/to/di',
$cache, // injector + singleton object cache
[AbstractRootObject::class, CachedAnnotationReader::class] // 'serizalble singleton object'
);Documented at #75