You cannot do that in sf2, it seems that you haven't understood the concept of bundle correctly or you have a design flaw. My advice is to create dedicated bundle named "AcmeToolsBundle" or so and put all the shared/dynamically triggered on login functionality and write the logic that way. You can also let the user choose what services from IOC should be invoked by tagging services and displaying a dropdown or so. The variety of ways is big.
Regards, Serge On Aug 15, 5:21 am, Aymen Beldi <[email protected]> wrote: > Thank's for your response, > To better express my problem, I need to include a bundle after > authentication, ie from the value of a variable that I recover from the > session > > So put the treatment in appKernel is not the solution, the container must be > initialized > > Aymen > > 2011/8/12 Lukas Kahwe Smith <[email protected]> > > > > > > > > > > > On 08.08.2011, at 13:06, Aymen wrote: > > > > Dear Devs, > > > > I'm working on a Symfony2 project and I want to register a bundle > > > dynamically following a condition after initialization of the > > > application. > > > > Is that possible to do? if so how > > > you can put the logic into the AppKernel > > > regards, > > Lukas Kahwe Smith > > [email protected] > > > -- > > If you want to report a vulnerability issue on symfony, please send it to > > security at symfony-project.com > > > You received this message because you are subscribed to the Google > > Groups "symfony developers" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected] > > For more options, visit this group at > >http://groups.google.com/group/symfony-devs?hl=en -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en
