Leaseweb / LswMemcacheBundle

Symfony bundle for Memcache Doctrine caching and session storage in the Web Debug Toolbar.
MIT License
202 stars 57 forks source link

Symfony 3.x Compatibility #79

Open sverraest opened 8 years ago

sverraest commented 8 years ago

It looks like the bundle is no longer compatible with the newer versions of Symfony. Currently on 3.1 I'm getting this error


UndefinedMethodException in LswMemcacheExtension.php line 100:
Attempted to call an undefined method named "setScope" of class "Symfony\Component\DependencyInjection\Definition".
mevdschee commented 8 years ago

Hi, I think "setScope" should be replaced with "setShared", see:

https://github.com/symfony/symfony/blob/master/UPGRADE-3.0.md#dependencyinjection

Maybe you can do a pull request?

sverraest commented 8 years ago

Thanks for the tip! I'll have a look.

mevdschee commented 7 years ago

I was not able to reproduce this bug.