Le 19/08/2011 01:02, Yosmany Garcia a écrit :
What about create the command "bundle:install", like the old
"plugin:install" command from symfony1 ?
This command can do automatically what we do by hand: add bundle to
vendor dir (or add in deps file and run vendors/install), add a line
in AppKernel to register it and add a line in autoload to register
namespace.
Is it good or was a mistake to do this on symfony1 ?
Adding it in the deps file is wrong, as it makes the use of the deps
file mandatory (I personaly prefer using submodules). And how would the
command know the url of the bundle, the class name (the FQCN cannot be
guessed from the bundle logical name) and the needed autoloading
configuration (this part could be achieved once it knows the FQCN) ?
--
Christophe | Stof
--
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