dflydev / dflydev-doctrine-orm-service-provider

Doctrine ORM Service Provider
MIT License
209 stars 59 forks source link

Use options defined for the specific cache #14

Closed arsfeld closed 11 years ago

arsfeld commented 11 years ago

When creating a cache driver, we must specify some options, but these are not passed to the driver constructor as it should.

The use case for this is to do something like this:

$app['orm.default_cache'] = array('driver' => 'memcached', 'host' => 'localhost', 'port' => 11211);
simensen commented 11 years ago

Thanks! :)