You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been dealing with an issue with the bundle configuration. I'm trying to implement a custom implementation of predis connection to override the replication strategy.
But i didn't find any way to use a custom connection through the bundle config. It only allows predis or phpredis type in extension :
The only way i found to do this is to override the container after the bundle config file parsing with a compiler pass, but i find it more convenient to do this on the config file :
Hello guys,
I've been dealing with an issue with the bundle configuration. I'm trying to implement a custom implementation of
predis
connection to override the replication strategy.But i didn't find any way to use a custom connection through the bundle config. It only allows
predis
orphpredis
type in extension :The only way i found to do this is to override the container after the bundle config file parsing with a compiler pass, but i find it more convenient to do this on the config file :
Maybe with a new param in the config file ?
I can make a pull request for this, but i firstly wanted to know if i didn't miss something and if this is a good way for you.
Thanks.
The text was updated successfully, but these errors were encountered: