Comments (3)
well yes, that is the point of auto but keeping the option to explicitly set false. i don't know if we could improve by checking if the kernel knows about the orm / phpcr bundle. at some places, there is code in the cmf where we get the list of bundle names from the kernel and check those, instead of class_exists. if you have a PR for that, it would make sense imo. otherwise its just that for a weird edge case (having the code in classpath but not enabled the bundle) you need to configure something more.
from sonatacachebundle.
If I am not completely wrong one can get the registered bundles with $container->getParameter('kernel.bundles')
. I've already seen something different somewhere else (afair it was about prependConfiguration()
somehow ❓ ). So I think somehow it is possible
I don't know, if it's a werid edge-case 😉 But I often disable bundles first and test it, before I remove them completely.
Another case would be (also: Don't know, how common this is), if someone has multiple applications within one project.
So, as far as I can see it shouldn't be that complicated. Don't know, when I find some time for that 😉
from sonatacachebundle.
Well... Wanted to provide a PR, but then I realize: It (the snippet I complained about) doesn't depend on a bundle, thus my approach isn't valid. I'm still convinced, that it requires the corresponding bundles, but I'm not sure.
Sorry for he noise 😸
from sonatacachebundle.
Related Issues (20)
- Bundle may not work dependeing on other bundles loading order HOT 3
- [RFC] Using twig service with SonataCacheBundle HOT 5
- 'User Deprecated' notices in SF4: "Not providing a ... ArgumentResolverInterface instance to VarnishCache::__construct is deprecated since 3.x and will not be possible in 4.0" HOT 1
- sonata.cache.manager public HOT 2
- Add a DataCollector for the Profiler HOT 1
- Deprecate this bundle HOT 14
- This bundle is abandoned // Looking for maintainers
- Missing MongoDB revalidation HOT 1
- Support for Memcache extension for Windows Environment development's sake. HOT 3
- Memcached expiration time HOT 6
- PHP Fatal error: Class 'Sonata\Cache\CacheManager' not found HOT 5
- Unresolvable dependency HOT 1
- SSI error, please define a controller key HOT 2
- Special characters in MongoClient password
- Symfony 2.7 BC break HOT 10
- Add documentation about orm_listener / phpcr_odm_listener parameters HOT 1
- Default Ssi cache adapter doesn't seem to work properly HOT 2
- Symfony cache has() method does not exists HOT 2
- Monolog dependency? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sonatacachebundle.