Must be others methods to override in bundle class.
The container building is a part of kernel building, but there are other
ways to behave on kernel execution.
Read the bundle sourcecode and find correct method (boot ?), and tell us
Le 12/08/10 00:24, Brandon Turner a écrit :
Is there anyway to load the default configuration for a bundle
*without* a line such as:
#config.yml:
mybundle.config: ~
in a configuration file? Is it correct to assume that the following
procedure must *always* be done to install a bundle that utilizes
semantic configuration:
1) Install the bundle in src/Bundle/%vendor%/%bundle%
2) Enable bundle in application kernel. (e.g. in
hello/HelloKernel.php add new MyBundle() to the registerBundles method)
3) Add custom configuration.
3a) If the default configuration suffices, add "mybundle.config: ~"
to your config.yml file (xml, php, ini, etc)
I guess I'm wondering if it is possible to avoid step 3a and if so how?
Thanks,
Brandon
--
---
Alexandre Salomé - http://alexandre.salome.fr
--
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 users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en