Giter VIP home page Giter VIP logo

Comments (3)

dbu avatar dbu commented on August 20, 2024

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.

kingcrunch avatar kingcrunch commented on August 20, 2024

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.

kingcrunch avatar kingcrunch commented on August 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.