Skip to content

Commit 24be501

Browse files
committed
Merge pull request #14 from arsfeld/master
Use options defined for the specific cache
2 parents a8c4f4c + 161a5dc commit 24be501

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Dflydev/Pimple/Provider/DoctrineOrm/DoctrineOrmServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ public function register(\Pimple $app)
192192
return $app[$cacheInstanceKey];
193193
}
194194

195-
return $app[$cacheInstanceKey] = $app['orm.cache.factory']($driver, $options);
195+
return $app[$cacheInstanceKey] = $app['orm.cache.factory']($driver, $options[$cacheNameKey]);
196196
});
197197

198198
$app['orm.cache.factory.backing_memcache'] = $app->protect(function() {

0 commit comments

Comments
 (0)