KnpLabs/KnpBundles — comment on commit 9321d15648fece9fb1c84f5be5d86c099a7b6ad6
File: src/Knp/Bundle/KnpBundlesBundle/Controller/BundleController.php line 106
By stof:

shouldn't you configure the result cache driver through the config and simply use ``useResultCache`` for the query needing to be cached ? This would avoid hardcoding the use of the APC cache in the controller